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

PyTest action #25

Merged
merged 4 commits into from
Aug 10, 2023
Merged

PyTest action #25

merged 4 commits into from
Aug 10, 2023

Conversation

tennlee
Copy link
Collaborator

@tennlee tennlee commented Jul 24, 2023

First time using GitHub actions, this may take multiple attempts to set up.

First time using GitHub actions, this may take multiple attempts to set up.

Signed-off-by: tennlee <134973832+tennlee@users.noreply.github.com>
Signed-off-by: tennlee <134973832+tennlee@users.noreply.github.com>
Signed-off-by: tennlee <134973832+tennlee@users.noreply.github.com>
Signed-off-by: tennlee <134973832+tennlee@users.noreply.github.com>
Copy link
Collaborator

@nicholasloveday nicholasloveday left a comment

Choose a reason for hiding this comment

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

This looks good to me for setting up PyTest action to run the unit tests. There are several additional actions that can be added separately in the future.

@tennlee tennlee merged commit 5f62616 into main Aug 10, 2023
4 checks passed
@tennlee tennlee deleted the tennlee-patch-1 branch August 10, 2023 23:30
tennlee added a commit that referenced this pull request Aug 21, 2023
* chore: swap setuptools for hatchling pkg build backend (#7)

Co-authored-by: agriffit <aidan.griffiths@bom.gov.au>

* doc: Update example in README (#15)

* Implement gather_dimensions for reducing no dimensions and preserving… (#20)

* Implement gather_dimensions for reducing no dimensions and preserving all dimensions
* Implement more checks in gather_dimensions
* Distinguish the error messages for preserving a nonexistent dimension from reducing a nonexistent dimension
* Standardise set handling logic
* Refactor tests for clarity
* Add additional clear basic tests for reduce and preserve

* PyTest action (#25)

* PyTest action
* Rename action to "Unit Tests"
* Use python version correctly in action
* Use Python version in job name

---------

Signed-off-by: tennlee <134973832+tennlee@users.noreply.github.com>

---------

Signed-off-by: tennlee <134973832+tennlee@users.noreply.github.com>
Co-authored-by: agriffit <aidan.griffiths@bom.gov.au>
Co-authored-by: tennlee <134973832+tennlee@users.noreply.github.com>
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.

2 participants