Download radicle-httpd executable for e2e tests

Signed-off-by: Adam Szkoda <adaszko@gmail.com>
This commit is contained in:
Adam Szkoda
2023-01-09 15:25:12 +01:00
parent a301224c58
commit 8df7d66419
2 changed files with 21 additions and 4 deletions
+14 -1
View File
@@ -9,6 +9,9 @@ on:
jobs:
check-e2e:
permissions:
contents: "read"
id-token: "write"
continue-on-error: true
strategy:
matrix:
@@ -54,10 +57,20 @@ jobs:
if: steps.playwright-dep-cache.outputs.cache-hit != 'true'
run: npx playwright install chromium firefox
- id: auth
uses: google-github-actions/auth@v1
with:
workload_identity_provider: "projects/281042598092/locations/global/workloadIdentityPools/github-actions/providers/google-cloud"
service_account: "github-actions@radicle-services.iam.gserviceaccount.com"
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v1
- name: Start http-api test server
run: |
if [ ${{ matrix.browser }} = "heartwood" ]; then
./scripts/run-httpd-with-fixtures --non-interactive --detach
mkdir -p tests/artifacts
./scripts/run-httpd-with-fixtures --non-interactive --binary 2>&1 | tee tests/artifacts/httpd-${{ matrix.browser }}.log &
else
./scripts/run-http-api-with-fixtures --non-interactive --detach
fi