Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-16.04
env:
JOBS: 1 # See https://git.io/vdao3 for details.
PERCY_PARALLEL_TOTAL: 2

# Percy secrets are included here to enable Percy's GitHub integration
# on community-submitted PRs
PERCY_TOKEN: 0d8707a02b19aebbec79bb0bf302b8d2fa95edb33169cfe41b084289596670b1
Expand Down Expand Up @@ -47,8 +47,9 @@ jobs:
- name: Add nonce for parallel tests
run: echo ::set-env name=PERCY_PARALLEL_NONCE::`date +%s`

- name: Test
run: npm test
- uses: percy/exec-action@v0.3.0
with:
command: npm test

backend:
name: Backend
Expand Down
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ env:
- DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
- TEST_DATABASE_URL=postgres://postgres:@localhost/cargo_registry_test
- CARGO_INCREMENTAL=0
- PERCY_PARALLEL_TOTAL=2
# Percy secrets are included here to enable Percy's GitHub integration
# on community-submitted PRs
- PERCY_TOKEN=0d8707a02b19aebbec79bb0bf302b8d2fa95edb33169cfe41b084289596670b1
Expand Down Expand Up @@ -72,7 +71,7 @@ matrix:
- npm run lint:hbs
- npm run lint:js
- npm run lint:deps
- npm test
- percy exec -- npm test
- rust: beta
script:
- cargo test
Expand Down
Loading