Fix cache error in test suite (#253) #329
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 Goalie 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/docs/.github/workflows/reusable_test_suite.yml@main | |
with: | |
install-command: 'python -m pip uninstall -y goalie && python -m pip install -e .' | |
test-command: | | |
python $(which firedrake-clean) | |
export GITHUB_ACTIONS_TEST_RUN=1 | |
python -m coverage erase | |
python -m coverage run --source=goalie -m pytest -v --durations=20 test | |
python -m coverage report | |
changed-files-patterns: | | |
**/*.py | |
**/*.msh | |
**/*.geo |