Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2dd8321

Browse files
authoredJun 24, 2024··
Install the source over whatever is installed by nix
1 parent e13a8b8 commit 2dd8321

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed
 

‎.github/workflows/nix.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,8 @@ jobs:
2323
with:
2424
path: /run/user/${{ env.UID }}/http_cache.sqlite
2525
key: ${{ runner.os }}-http_cache.sqlite
26-
- run: |
27-
nix develop --command bash -c "python setup.py test 2> test.out" || true
28-
status=$?
29-
# echo ::set-output name=errors::`cat test.out`
30-
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
31-
echo "text<<$EOF" >> $GITHUB_STEP_SUMMARY
32-
echo "FiPy messages: $(cat test.out)." >> $GITHUB_STEP_SUMMARY
33-
echo "$EOF" >> $GITHUB_STEP_SUMMARY
34-
exit $status
26+
- run: nix develop --command bash -c "pip install -e ."
27+
- run: nix develop --command bash -c "python setup.py test"
3528
- run: nix develop --command bash -c "py.test --nbval --nbval-sanitize-with examples/sanitize.cfg examples/index.ipynb"
3629
- uses: actions/cache/save@v3
3730
if: always()

0 commit comments

Comments
 (0)
Please sign in to comment.