Run Animate Test Suite #191
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Run Animate Test Suite' | |
on: | |
# Run test suite whenever main is updated | |
push: | |
branches: | |
- main | |
# Run test suite whenever commits are pushed to an open PR | |
pull_request: | |
# Run test suite every Sunday at 1AM | |
schedule: | |
- cron: '0 1 * * 0' | |
jobs: | |
test_suite: | |
uses: mesh-adaptation/mesh-adaptation-docs/.github/workflows/reusable_test_suite.yml@main | |
with: | |
install-command: 'python -m pip uninstall -y animate && python -m pip install -e .' | |
test-command: | | |
export GITHUB_ACTIONS_TEST_RUN=1 | |
python $(which firedrake-clean) | |
export ANIMATE_CHECKPOINT_DIR=$(pwd)/.checkpoints | |
python -m coverage erase | |
python -m coverage run --source=animate -m pytest -v --durations=20 test | |
python -m coverage report | |
changed-files-patterns: | | |
**/*.py | |
**/*.cxx |