Run UM2N Test Suite #30
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 UM2N 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 UM2N && python -m pip install -e .' | ||
Check failure on line 20 in .github/workflows/test_suite.yml GitHub Actions / Run UM2N Test SuiteInvalid workflow file
|
||
test-command: | | ||
export GITHUB_ACTIONS_TEST_RUN=1 | ||
python $(which firedrake-clean) | ||
python -m coverage erase | ||
python -m coverage run -a --source=UM2N -m pytest -v --durations=20 test | ||
python -m coverage report | ||
changed-files-patterns: | | ||
**/*.py | ||
**/*.msh | ||
**/*.geo | ||
docker-image: firedrake-um2n |