Skip to content

Commit

Permalink
Simplify tox setup and run.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Jan 5, 2024
1 parent 833a252 commit 5eb4768
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python for tox
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Setup Python ${{ join(matrix.python-version, '.') }}
uses: actions/setup-python@v5
with:
python-version: "${{ join(matrix.python-version, '.') }}"
- name: Run Unit Tests
uses: pantsbuild/actions/run-tox@b16b9cf47cd566acfe217b1dafc5b452e27e6fd7
with:
python: python3.11
tox-env: py${{ matrix.python-version[0] }}${{ matrix.python-version[1] }} -- -vvs
run: |
pip install -U pip
pip install -U tox
tox -epy${{ matrix.python-version[0] }}${{ matrix.python-version[1] }} -- -vvs

0 comments on commit 5eb4768

Please sign in to comment.