Skip to content

Commit

Permalink
Simplify test workflow file (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddundo authored Dec 16, 2024
1 parent 291027a commit fbfe9fc
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,19 @@ on:
push:
branches:
- main
paths:
- '**.py'
- '**.msh'
- '**.geo'
- '.github/workflows/test_suite.yml'

# Run test suite whenever commits are pushed to an open PR
pull_request:
paths:
- '**.py'
- '**.msh'
- '**.geo'
- '.github/workflows/test_suite.yml'

# Run test suite every Sunday at 1AM
schedule:
Expand All @@ -17,15 +27,4 @@ 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 .'
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

0 comments on commit fbfe9fc

Please sign in to comment.