Skip to content

Commit

Permalink
fix gif animation upload
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo authored Sep 12, 2024
1 parent eb501f3 commit b6d08b1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tests+pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,7 @@ jobs:
NUMBA_OPT: 1
run: python -m pytest --durations=10 -p no:unraisableexception -We tests/devops_tests/test_notebooks.py

- if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11'}}
run: |
- run: |
mkdir -p /home/runner/work/_temp/_github_home/figures
mv /tmp/pytest-of-runner/pytest-current/test_run_notebooks_examples_*/fig_4.svg /home/runner/work/_temp/_github_home/figures
mv /tmp/pytest-of-runner/pytest-current/test_run_notebooks_examples_*/advection_diffusion.gif /home/runner/work/_temp/_github_home/figures
Expand All @@ -243,7 +242,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: |
/github/home/figures/*.svg
/github/home/figures/*
devops:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b6d08b1

Please sign in to comment.