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 pytest matrix workflow #6

Merged
merged 4 commits into from
Oct 8, 2022
Merged

Add pytest matrix workflow #6

merged 4 commits into from
Oct 8, 2022

Conversation

jhkennedy
Copy link
Contributor

@jhkennedy jhkennedy commented Jan 6, 2022

This updates the pytest workflow to accept JSON input so that a matrix of python versions can be specified. Usage looks like:

  call-pytest-workflow:
    uses: ASFHyP3/actions/.github/workflows/reusable-pytest-matrix.yml@pytest-matrix
    with:
      local_package_name: hyp3_ci
      conda_env_name: hyp3-ci
      python_versions: >-
        ["3.8", "3.10"]

Notably, this chances the python version input from a string like "3.8" to a valid JSON list of strings and so is a breaking change.

This will require these PRs before we can release it as asf-tools, bullets, hyp3-autorift, and hyp3-gamma are all pointing at @main currently:

So I'm going to leave as draft for now until those are all done.

@jhkennedy jhkennedy marked this pull request as draft August 24, 2022 00:32
@jhkennedy jhkennedy changed the base branch from main to develop August 24, 2022 00:33
@jhkennedy
Copy link
Contributor Author

Trufflehog can be ignored -- it's complaining about the removal of the git secrets config file and won't squawk anymore once we release.

CHANGELOG.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Co-authored-by: Jake Herrmann <jtherrmann@alaska.edu>
@jhkennedy jhkennedy marked this pull request as ready for review October 8, 2022 00:23
@jhkennedy jhkennedy requested a review from a team as a code owner October 8, 2022 00:23
@jhkennedy jhkennedy merged commit 81e64d8 into develop Oct 8, 2022
@jhkennedy jhkennedy deleted the pytest-matrix branch October 8, 2022 00:25
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