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

Add GH action to run pytest #4

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Add GH action to run pytest #4

merged 1 commit into from
Mar 6, 2024

Conversation

connortann
Copy link
Collaborator

@connortann connortann commented Mar 6, 2024

Adds a lightweight GH action to run tests with pytest on PRs and on pushes to master.

At present two tests fail, so I've opened an issue #5.
I would advocate for enabling this workflow, and then subsequently fixing the tests.

@connortann connortann force-pushed the tests branch 2 times, most recently from a052478 to b18dc78 Compare March 6, 2024 14:13
Signed-off-by: Connor Tann <[email protected]>
@connortann connortann marked this pull request as ready for review March 6, 2024 14:18
@connortann connortann requested a review from paulbkoch March 6, 2024 14:19
@paulbkoch paulbkoch merged commit 12964ec into master Mar 6, 2024
1 of 6 checks passed
@connortann connortann deleted the tests branch March 7, 2024 10:06
Comment on lines +28 to +30
pip install .
- name: Install project
run: pip install .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are duplicate lines.

Copy link
Collaborator Author

@connortann connortann Mar 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, apologies, good catch. PR to fixup: #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants