Skip to content

Commit

Permalink
Merge pull request #3 from tzoiker/ci/fix-test
Browse files Browse the repository at this point in the history
Fix test workflow
  • Loading branch information
tzoiker authored Oct 31, 2023
2 parents a30d066 + 8371447 commit aca14ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: tests
name: test

# TODO: add coverage + coveralls?

Expand All @@ -8,6 +8,7 @@ on:
pull_request:
branches: [ main ]

jobs:
tests-on-linux:
runs-on: ubuntu-latest

Expand All @@ -28,7 +29,8 @@ on:
python-version: "${{ matrix.python }}"
- name: Get tox env name
run: |
TOXENV=${py${{ matrix.python }}//.}
TOXENV=py${{ matrix.python }}
TOXENV=${TOXENV//.}
echo TOXENV=${TOXENV} >> $GITHUB_ENV
- run: python -m pip install tox
- run: tox -m ${{ env.TOXENV }}
Expand Down

0 comments on commit aca14ed

Please sign in to comment.