Skip to content

Commit

Permalink
Parametrize Python version in functional tests GH workflow
Browse files Browse the repository at this point in the history
We parametrize for only 3 Python versions for now, "3.9", "3.10",
"3.11".
  • Loading branch information
KAUTH committed Jan 15, 2024
1 parent 73bfd18 commit 2e16de3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3

- name: Run functional tests on Ubuntu environment
run: docker build . -f tests/functional/Dockerfile-ubuntu -t click-test-ubuntu
run: docker build . -f tests/functional/Dockerfile-ubuntu --build-arg PYTHON_VERSION=${{ matrix.python-version }} -t click-test-ubuntu

0 comments on commit 2e16de3

Please sign in to comment.