Skip to content

Commit

Permalink
update env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
shashwatahalder01 committed Dec 20, 2024
1 parent 4199a4e commit db0f443
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/all-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,10 @@ env:
PR_NUMBER: ${{ github.event.number }}
SHA: ${{ github.event.pull_request.head.sha }}
SYSTEM_INFO: ./tests/pw/playwright/systemInfo.json
API_TEST_RESULT: ./tests/pw/all-reports/test-artifact-api/playwright-report/api/summary-report/results.json
API_COVERAGE: ./tests/pw/all-reports/test-artifact-api/playwright-report/api/coverage-report/coverage.json
E2E_TEST_RESULT: ./tests/pw/all-reports/merged-summary.json
E2E_COVERAGE: ./tests/pw/all-reports/merged-coverage.json
# API_TEST_RESULT: ./tests/pw/playwright-report/api/summary-report/results.json
# E2E_TEST_RESULT: ./tests/pw/playwright-report/e2e/summary-report/results.json
# API_COVERAGE: ./tests/pw/playwright-report/api/coverage-report/coverage.json
# E2E_COVERAGE: ./tests/pw/playwright-report/e2e/coverage-report/coverage.json
API_TEST_RESULT: ./tests/pw/playwright-report/api/summary-report/results.json
E2E_TEST_RESULT: ./tests/pw/playwright-report/e2e/summary-report/results.json
API_COVERAGE: ./tests/pw/playwright-report/api/coverage-report/coverage.json
E2E_COVERAGE: ./tests/pw/playwright-report/e2e/coverage-report/coverage.json
TEST_PUBLISH_KEY_STRIPE: ${{secrets.TEST_PUBLISH_KEY_STRIPE}}
TEST_SECRET_KEY_STRIPE: ${{secrets.TEST_SECRET_KEY_STRIPE}}
CLIENT_ID_STRIPE: ${{secrets.CLIENT_ID_STRIPE}}
Expand Down Expand Up @@ -519,8 +515,15 @@ jobs:
# Merge reports after playwright-tests, even if some shards have failed
if: ${{ !cancelled() }}
needs: [e2e_tests, api_tests]

runs-on: ubuntu-latest

# Override reports path specifically for this job
env:
API_TEST_RESULT: ./tests/pw/all-reports/test-artifact-api/playwright-report/api/summary-report/results.json
API_COVERAGE: ./tests/pw/all-reports/test-artifact-api/playwright-report/api/coverage-report/coverage.json
E2E_TEST_RESULT: ./tests/pw/all-reports/merged-summary.json
E2E_COVERAGE: ./tests/pw/all-reports/merged-coverage.json

steps:
- name: Checkout testing repo
id: clone-dokan-lite
Expand Down

0 comments on commit db0f443

Please sign in to comment.