Skip to content

Commit

Permalink
Use frozen solve in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
timmens committed Sep 19, 2024
1 parent 4d30bf4 commit bc27098
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
environments: test-cpu
activate-environment: true
frozen: true
- name: Run pytest
shell: bash {0}
run: pixi run -e test-cpu tests
Expand All @@ -52,6 +53,7 @@ jobs:
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
environments: mypy
frozen: true
- name: Run mypy
shell: bash {0}
run: pixi run mypy
Expand All @@ -66,6 +68,7 @@ jobs:
cache: true
cache-write: ${{ github.event_name == 'push' && github.ref_name == 'main' }}
environments: test-cpu
frozen: true
- name: Run explanation notebooks
shell: bash {0}
run: pixi run -e test-cpu explanation-notebooks

0 comments on commit bc27098

Please sign in to comment.