Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/php-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
# without the extension or the token, so both are checked first.
integration-zstd:
runs-on: ubuntu-latest
# APIFY_TOKEN is an environment secret of the `tests` environment.
environment: tests
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -81,7 +83,7 @@ jobs:
exit 1
fi
if [ -z "${APIFY_TOKEN}" ]; then
echo "::error::APIFY_TOKEN secret is empty or missing; the zstd integration tests would skip."
echo "::error::APIFY_TOKEN secret (tests environment) is empty or missing; the zstd integration tests would skip."
exit 1
fi

Expand All @@ -92,6 +94,8 @@ jobs:

test:
runs-on: ubuntu-latest
# APIFY_TOKEN is an environment secret of the `tests` environment.
environment: tests
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -126,7 +130,7 @@ jobs:
APIFY_TOKEN: ${{ secrets.APIFY_TOKEN }}
run: |
if [ -z "${APIFY_TOKEN}" ]; then
echo "::error::APIFY_TOKEN secret is empty or missing; integration tests would not run against the API."
echo "::error::APIFY_TOKEN secret (tests environment) is empty or missing; integration tests would not run against the API."
exit 1
fi

Expand Down
Loading