Repository navigation
Run tests automatically on GitHub - #22
Open
Josh-Woodcock wants to merge 2 commits into
Open
Josh-Woodcock wants to merge 2 commits into
Josh-Woodcock wants to merge 2 commits into
Conversation
douglowe
requested changes
Dec 3, 2026
douglowe
left a comment
Contributor
There was a problem hiding this comment.
couple of small changes - but let's get the RSE template applied before we merge this
| # Install the library and run the tests on each supported Python version. | ||
| # Based on ro-crate-py's workflow (Linux only; no flake8 yet, see #21). | ||
|
|
||
| name: Python package |
Contributor
There was a problem hiding this comment.
Can you make the title, and file name, reflect the workflow more closely?
Contributor
Author
There was a problem hiding this comment.
Renamed to test.yml / "Run Tests", to match the toolkit.
| - main | ||
| pull_request: | ||
| branches: | ||
| - main |
Contributor
There was a problem hiding this comment.
We should add develop here - once we have implemented our RSE template changes.
Also, it makes a bit of sense to retain the push section, but ideally no-one will ever be pushing to these branches.
Contributor
Author
There was a problem hiding this comment.
Added development, to match the RSE template, and kept push.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #21.
Adds a GitHub Actions workflow based on ro-crate-py's. It runs
pyteston pushes and PRs tomainanddevelopment, on Python 3.11 to 3.15 (Linux).Also adds
tests/test_crate.py, a small test that a new crate conforms to the Five Safes profile.mainhas no tests yet, andpytestfails when it finds none.Not included yet: Mac/Windows and the
flake8style check (see #21).