Skip to content

Commit

Permalink
Simplify test workflow (#257)
Browse files Browse the repository at this point in the history
Related to mesh-adaptation/docs#90 (changes
described there).
  • Loading branch information
ddundo authored Dec 14, 2024
1 parent fa3e7aa commit 3792771
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 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 @@ -16,15 +26,3 @@ on:
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

0 comments on commit 3792771

Please sign in to comment.