Skip to content

Commit

Permalink
Ignore redundant tox envs
Browse files Browse the repository at this point in the history
  • Loading branch information
JCZuurmond committed Aug 25, 2023
1 parent d5adfd7 commit df3d876
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version:
python-minor-version:
- "3.7"
- "3.8"
- "3.9"
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
python-version: 3.${{ matrix.python-version }}

- name: Install dependencies
run: |
Expand All @@ -56,10 +56,7 @@ jobs:
python -m pip install tox
- name: Test with tox
run: tox

- name: Test docs with tox
run: tox -e docs
run: tox --skip-env "^py(?!${{ matrix.python-version }}).*"

test-release:
if: contains(github.ref, 'refs/tags/')
Expand Down

0 comments on commit df3d876

Please sign in to comment.