From e25c210ecbb96f88a62afb650d51f7d1f8d1d94c Mon Sep 17 00:00:00 2001 From: Daniel Wheeler Date: Tue, 25 Jun 2024 13:04:05 -0400 Subject: [PATCH] ci(actions): generate egg_info 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. --- .github/workflows/nix.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index f593eae2da..18533ebb7f 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -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