From 2e16de3447cfa4efcd3aa064c569603c7dc17493 Mon Sep 17 00:00:00 2001 From: Konstantinos Papadopoulos Date: Sun, 17 Dec 2023 17:18:16 +0100 Subject: [PATCH] Parametrize Python version in functional tests GH workflow We parametrize for only 3 Python versions for now, "3.9", "3.10", "3.11". --- .github/workflows/functional-tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/functional-tests.yml b/.github/workflows/functional-tests.yml index 77565f0..1115315 100644 --- a/.github/workflows/functional-tests.yml +++ b/.github/workflows/functional-tests.yml @@ -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 \ No newline at end of file + run: docker build . -f tests/functional/Dockerfile-ubuntu --build-arg PYTHON_VERSION=${{ matrix.python-version }} -t click-test-ubuntu \ No newline at end of file