Skip to content

Commit 3358454

Browse files
committed
Auto merge of #2711 - Turbo87:percy, r=locks
Update `ember-percy` dependency to `@percy/ember` see https://docs.percy.io/docs/ember#upgrading-from-v1
2 parents 0583128 + 63875ef commit 3358454

16 files changed

+1647
-94
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-16.04
1616
env:
1717
JOBS: 1 # See https://git.io/vdao3 for details.
18-
PERCY_PARALLEL_TOTAL: 2
18+
1919
# Percy secrets are included here to enable Percy's GitHub integration
2020
# on community-submitted PRs
2121
PERCY_TOKEN: 0d8707a02b19aebbec79bb0bf302b8d2fa95edb33169cfe41b084289596670b1
@@ -47,8 +47,9 @@ jobs:
4747
- name: Add nonce for parallel tests
4848
run: echo ::set-env name=PERCY_PARALLEL_NONCE::`date +%s`
4949

50-
- name: Test
51-
run: npm test
50+
- uses: percy/exec-action@v0.3.0
51+
with:
52+
command: npm test
5253

5354
backend:
5455
name: Backend

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ env:
2121
- DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
2222
- TEST_DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
2323
- CARGO_INCREMENTAL=0
24-
- PERCY_PARALLEL_TOTAL=2
2524
# Percy secrets are included here to enable Percy's GitHub integration
2625
# on community-submitted PRs
2726
- PERCY_TOKEN=0d8707a02b19aebbec79bb0bf302b8d2fa95edb33169cfe41b084289596670b1
@@ -72,7 +71,7 @@ matrix:
7271
- npm run lint:hbs
7372
- npm run lint:js
7473
- npm run lint:deps
75-
- npm test
74+
- percy exec -- npm test
7675
- rust: beta
7776
script:
7877
- cargo test

0 commit comments

Comments
 (0)