Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify test workflow #34

Merged
merged 1 commit into from
Dec 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions .github/workflows/test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,15 @@ on:
push:
branches:
- main
paths:
- '**.py'
- '.github/workflows/test_suite.yml'

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

# Run test suite every Sunday at 1AM
schedule:
Expand All @@ -16,13 +22,3 @@ on:
jobs:
test_suite:
uses: mesh-adaptation/docs/.github/workflows/reusable_test_suite.yml@main
with:
install-command: '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 --source=opt_adapt -m pytest -v --durations=20 test
python -m coverage report
changed-files-patterns: |
**/*.py
Loading