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 file #166

Merged
merged 3 commits into from
Dec 14, 2024
Merged

Simplify test workflow file #166

merged 3 commits into from
Dec 14, 2024

Conversation

ddundo
Copy link
Member

@ddundo ddundo commented Dec 14, 2024

@ddundo ddundo self-assigned this Dec 14, 2024
@ddundo ddundo added the clarity Something isn't sufficiently clear label Dec 14, 2024
@ddundo ddundo added the testing Extensions and improvements to the testing infrastructure label Dec 14, 2024
@ddundo ddundo requested a review from jwallwork23 December 14, 2024 09:55
ddundo added a commit to mesh-adaptation/docs that referenced this pull request Dec 14, 2024
Related PRs:
- [x] Animate: mesh-adaptation/animate#166
- [x] Goalie: mesh-adaptation/goalie#257 
- [x] Movement: mesh-adaptation/movement#137
- [x] UM2N: mesh-adaptation/UM2N#64

---

This PR simplifies the `reusable_test_suite.yml` workflow:
- Not using the `changed-files` action; instead, the triggers are to be
set in the Animate/Goalie/Movement/UM2N workflows using the `paths`
syntax
- The `build` directory doesn't exist so `rm -rf build` does nothing (I
guess this was a copy-paste error from the docs build)
- Not unnecessarily installing python with `actions/setup-python@v2`
- Not uninstalling and installing Animate/Goalie/Movement/UM2N again
since `actions/checkout@v4` fetches the repository at the state of the
commit that triggered the workflow, so it is always up to date
- In the "Run tests" step we have so far passed commands here from other
repos, where I think `export GITHUB_ACTIONS_TEST_RUN=1` is unnecessary
(not used anywhere?)

And one addition:
- Print missing statements in coverage (i.e., added the `-m` flag in
`python -m coverage report -m`)
@ddundo ddundo merged commit fd9560b into main Dec 14, 2024
@ddundo ddundo deleted the simplify_test_workflow branch December 14, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clarity Something isn't sufficiently clear testing Extensions and improvements to the testing infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants