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

build: add test matrix for multiple python versions #144

Merged
merged 15 commits into from
Jan 14, 2025
Prev Previous commit
Next Next commit
build: add optional input for test python version
  • Loading branch information
alex-liang3 committed Jan 10, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 0b6a3f34cacfd1cb9e48d74f4f02e9da4240dcca
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -13,6 +13,10 @@ on:
description: The version of the project.
required: true
type: string
test_python_version:
description: The version of Python used in unit tests.
required: false
type: string
secrets:
DOCKERHUB_USERNAME:
required: true
@@ -104,4 +108,5 @@ jobs:
- name: Pull Development Image
run: docker pull ${{ env.DOCKER_REGISTRY_PATH }}/${{ inputs.project_name }}-development:${{ inputs.project_version }}
- name: Run Unit Tests Python
run: make test-unit-python-standalone
run: make test-unit-python-standalone ${{ inputs.test_python_version == '' && '' || 'test_python_version='inputs.test_python_version }}