From 3a4169eed82a6d0a0ca9a2ebc9be9ddee9169242 Mon Sep 17 00:00:00 2001 From: Josef Prochazka Date: Wed, 30 Jul 2025 08:54:48 +0200 Subject: [PATCH 1/2] Add optional `os` argument to Python unit test workflow --- .github/workflows/python_unit_tests.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python_unit_tests.yaml b/.github/workflows/python_unit_tests.yaml index d3d8059..8615351 100644 --- a/.github/workflows/python_unit_tests.yaml +++ b/.github/workflows/python_unit_tests.yaml @@ -11,6 +11,11 @@ on: description: List of Python versions to be used required: true type: string + os: + description: List of operating systems to be used + default: '["ubuntu-latest", "windows-latest"]' + required: false + type: string jobs: unit_tests: @@ -18,7 +23,7 @@ jobs: strategy: fail-fast: false matrix: - os: ["ubuntu-latest", "windows-latest"] + os: ${{ fromJSON(inputs.os)}} python-version: ${{ fromJSON(inputs.python-versions)}} runs-on: ${{ matrix.os }} env: From 017b5a3fb9dca4812dfd4019811cb30d3c45ee36 Mon Sep 17 00:00:00 2001 From: Josef Prochazka Date: Tue, 25 Nov 2025 14:43:04 +0100 Subject: [PATCH 2/2] Allow second test user token for integration tests --- .github/workflows/python_integration_tests.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/python_integration_tests.yaml b/.github/workflows/python_integration_tests.yaml index a6c5d9a..a1ab207 100644 --- a/.github/workflows/python_integration_tests.yaml +++ b/.github/workflows/python_integration_tests.yaml @@ -50,6 +50,7 @@ jobs: run: make INTEGRATION_TESTS_CONCURRENCY=8 integration-tests env: APIFY_TEST_USER_API_TOKEN: ${{ secrets.APIFY_TEST_USER_PYTHON_SDK_API_TOKEN }} + APIFY_TEST_USER_2_API_TOKEN: ${{ secrets.APIFY_TEST_USER_2_API_TOKEN }} # Job to request approval before running integration tests for PRs from forks. integration_tests_on_fork_approval: