Skip to content

Commit b84b5a5

Browse files
committed
update the API tests t run in parallel
1 parent c414703 commit b84b5a5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/actions/tests/api-tests/action.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ runs:
2525
USER_API_SECRET: ${{ inputs.user_api_secret }}
2626
API_MARKERS: ${{ inputs.api_markers }}
2727
run: |
28-
pytest="pytest --ci --random-order --force-flaky --no-success-flaky-report --maxfail=3 --junitxml=${XUNIT_REPORT_PATH} --cache-clear --ignore=./tests/mdcb -v --log-cli-level=ERROR"
2928
pip install --no-deps -r requirements.txt
3029
cat >pytest.env <<-EOF
3130
TYK_TEST_BASE_URL=http://localhost:3000/
@@ -45,4 +44,4 @@ runs:
4544
TYK_TEST_KEYCLOAK_URL=http://localhost:8180
4645
TYK_TEST_KEYCLOAK_INTERNAL_URL=http://keycloak:8080
4746
EOF
48-
env $(cat pytest.env | xargs) $pytest -m "${{ inputs.api_markers }}"
47+
env $(cat pytest.env | xargs) pytest -c pytest_ci.ini --ci --junitxml=${XUNIT_REPORT_PATH} -m "${{ inputs.api_markers }}"

0 commit comments

Comments
 (0)