Skip to content

Commit

Permalink
Move types job into test job
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge committed Nov 6, 2021
1 parent 7deea58 commit a798f25
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,6 @@ jobs:
- name: Run linting
run: python -m tox -e lint

types:
strategy:
matrix:
python: [3.6, 3.7, 3.8, 3.9]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: python -m pip install tox
- name: Run type-checking
run: python -m tox -e types

test:
strategy:
matrix:
Expand All @@ -48,6 +33,8 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: python -m pip install tox
- name: Run type-checking
run: python -m tox -e types
- name: Run tests
run: python -m tox -e py -- --cov-report xml
- uses: codecov/codecov-action@v1
Expand All @@ -71,7 +58,7 @@ jobs:
run: python -m tox -e docs

release:
needs: [lint, types, test, docs]
needs: [lint, test, docs]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit a798f25

Please sign in to comment.