Skip to content

Commit

Permalink
ci(actions): generate egg_info
Browse files Browse the repository at this point in the history
Generate the egg_info before executing the tests otherwise setup.py
doesn't register the correct version of the test suite, but possibly
the older version already available in nixpkgs.
  • Loading branch information
wd15 committed Jun 25, 2024
1 parent 21bc31e commit e25c210
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
with:
path: /run/user/${{ env.UID }}/http_cache.sqlite
key: ${{ runner.os }}-http_cache.sqlite
- run: nix develop --command bash -c "python setup.py egg_info"
- run: nix develop --command bash -c "python setup.py test"
- run: nix develop --command bash -c "py.test --nbval --nbval-sanitize-with examples/sanitize.cfg examples/index.ipynb"
- uses: actions/cache/save@v3
Expand Down

0 comments on commit e25c210

Please sign in to comment.