Skip to content

Commit

Permalink
chore(CI): clean up Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
vytas7 committed Aug 23, 2024
1 parent 54f94dd commit a4416f4
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions .github/workflows/run-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@ on:
push:
pull_request:


jobs:
run-test:
run-tox:
name: test-${{ matrix.python-version }}
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "pypy-3.7"
- "3.13.0-rc.1 - 3.13"
- "pypy-3.8"
- "pypy-3.9"
- "pypy-3.10"
Expand All @@ -27,49 +25,45 @@ jobs:

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade tox setuptools
pip list
pip install --upgrade pip
pip install --upgrade tox
- name: Run tests
run: |
tox -e py
run-lint:
name: lint
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version:
- "3.10"
- "3.12"

fail-fast: false

steps:
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade tox setuptools
pip list
pip install --upgrade pip
pip install --upgrade tox
- name: Run lint
run: |
Expand Down

0 comments on commit a4416f4

Please sign in to comment.