Skip to content

Commit

Permalink
run pure tests on different Python versions in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
zupo committed Oct 21, 2023
1 parent 14b3a98 commit f05469b
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ jobs:
pure_tests:
name: Pure Tests

strategy:
matrix:
python: ["python39", "python310", "python311"]

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -39,9 +43,10 @@ jobs:
authToken: '${{ secrets.CACHIX_AUTH_TOKEN_PUBLIC }}'

- name: Run linters and unit tests the Nix way
env:
PYTHON: ${{ matrix.python }}
run: |
nix flake check
# nix run .#impure-check
echo "foo"
impure_tests:
name: Impure Tests
Expand Down

0 comments on commit f05469b

Please sign in to comment.