Skip to content

Commit b0b7eab

Browse files
authored
chore: Allow second token integration tests (#233)
* Add optional `os` argument to Python unit test workflow * Allow second test user token for integration tests
1 parent a8fef26 commit b0b7eab

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/python_integration_tests.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
APIFY_TEST_USER_PYTHON_SDK_API_TOKEN:
77
description: API token of the Python testing user on Apify
88
required: true
9+
APIFY_TEST_USER_2_API_TOKEN:
10+
description: Second API token of different testing user on Apify. For multi-user test cases, such as sharing restricted access storage.
11+
required: false
12+
913
inputs:
1014
python-versions:
1115
description: List of Python versions to be used
@@ -51,3 +55,4 @@ jobs:
5155
run: make INTEGRATION_TESTS_CONCURRENCY=8 integration-tests
5256
env:
5357
APIFY_TEST_USER_API_TOKEN: ${{ secrets.APIFY_TEST_USER_PYTHON_SDK_API_TOKEN }}
58+
APIFY_TEST_USER_2_API_TOKEN: ${{ secrets.APIFY_TEST_USER_2_API_TOKEN }}

0 commit comments

Comments
 (0)