Skip to content

Commit

Permalink
Split tox in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Nov 24, 2023
1 parent 7965290 commit 75ef400
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,24 @@ on:
- main

jobs:
build:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Set up Python 3.8
uses: actions/setup-python@v4.7.1
with:
python-version: "3.8"
- name: Install dependencies
shell: bash
run: |
pip install tox
- name: Run Tox
shell: bash
run: |
tox -e lint,black
test:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -20,7 +37,7 @@ jobs:
- "3.11"
steps:
- uses: actions/checkout@v4.1.1
- name: Set up Python 3.8
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4.7.1
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -31,4 +48,4 @@ jobs:
- name: Run Tox
shell: bash
run: |
tox
tox -e tests

0 comments on commit 75ef400

Please sign in to comment.