Skip to content

Commit 7331148

Browse files
committed
Merge branch 'dev' into printable-itin-stop-id
2 parents 4c300aa + fd3b517 commit 7331148

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+4904
-7202
lines changed

Diff for: .github/workflows/percy.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
pull_request:
99

1010
jobs:
11-
run-pixel-tests-with-otp1-mock-server:
11+
run-pixel-tests-with-otp1-real-server:
1212
runs-on: ubuntu-latest
1313

1414
steps:
@@ -22,12 +22,16 @@ jobs:
2222
node-version: 16.x
2323
- name: Install npm packages using cache
2424
uses: bahmutov/npm-install@v1
25+
- name: Download OTP1 config file
26+
run: curl $PERCY_OTP1_CONFIG_URL --output /tmp/otp1config.yml
27+
env:
28+
PERCY_OTP1_CONFIG_URL: ${{ secrets.PERCY_OTP1_CONFIG_URL_METRO }}
2529
- name: Take Percy Snapshots
2630
# Move everything from latest commit back to staged
2731
run: npx percy exec -- npx jest percy/percy.test.js --force-exit
2832
env:
2933
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
30-
HAR_URL: ${{ secrets.PERCY_HAR_URL }}
34+
PERCY_OTP_CONFIG_OVERRIDE: /tmp/otp1config.yml
3135
run-pixel-tests-with-otp2-real-server:
3236
runs-on: ubuntu-latest
3337

0 commit comments

Comments
 (0)