Reusable workflows #168
Workflow file for this run
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: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
schedule: | ||
- cron: '0 1 * * 0' | ||
jobs: | ||
test_suite: | ||
uses: mesh-adaptation/mesh-adaptation-docs/.github/workflows/test_suite.yml@45_reusing_workflows | ||
Check failure on line 13 in .github/workflows/test_suite.yml GitHub Actions / .github/workflows/test_suite.ymlInvalid workflow file
|
||
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 |