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

ci: Add workflow for testing action #43

Merged
merged 1 commit into from
Nov 1, 2024
Merged

Conversation

ns-rse
Copy link
Contributor

@ns-rse ns-rse commented Nov 1, 2024

Closes #10

  • Adds a workflow to run tests on GitHub Actions Continuous Integration.
  • It only runs pull_request for certain events and even more specifically on changes to specific files (see the paths list under pull_request).
  • Includes tmate for when tests fail so its possible to SSH into the runner and have a poke around and work out what is wrong.
  • At the same time I've linked the sudlab/IsoSLAM repository to codecov.io so that the tests, which generate code coverage reports (in XML) are uploaded and available for analysis automatically. Required adding a Secret Token from Codecov to the repository.

May be tweaked in future but this is a good starting point.

NB - Currently there aren't any tests, so no report is generated to upload and so the tests fail!

Closes #10

Adds a workflow to run tests on GitHub Actions Continuous Integration.

It only runs `pull_request` for certain events and even more specifically on changes to specific files (see the `paths`
list under `pull_request`).

At the same time I've linked the `sudlab/IsoSLAM` repository to [codecov.io](https://codecov.io) so that the tests,
which generate code coverage reports (in XML) are uploaded and available for analysis automatically. Required adding a
Secret Token from Codecov to the repository.

May be tweaked in future but this is a good starting point.
@ns-rse ns-rse merged commit 4b9c963 into main Nov 1, 2024
2 of 14 checks passed
@ns-rse ns-rse deleted the ns-rse/10-test-workflow branch November 1, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.github/workflows/ setup workflows for different CI tasks.
1 participant