Skip to content

Commit

Permalink
make motoko-invoice test fail in a couple minutes rather than 45
Browse files Browse the repository at this point in the history
  • Loading branch information
ericswanson-dfinity committed Jan 26, 2024
1 parent ae1c92c commit 08f1a19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/motoko-invoice-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Provision Darwin
env:
NODE_VERSION: 19.8.1
run: bash .github/workflows/provision-darwin.sh
- name: Install vessel
run: |
Expand All @@ -44,6 +46,7 @@ jobs:
EOF
- name: Motoko Invoice Canister Darwin
run: |
dfx extension install nns --version 0.2.1
pushd motoko/invoice-canister
make e2e
dfx stop
Expand Down Expand Up @@ -81,6 +84,7 @@ jobs:
EOF
- name: Motoko Invoice Canister Linux
run: |
dfx extension install nns --version 0.2.1
pushd motoko/invoice-canister
make e2e
dfx stop
Expand Down
4 changes: 2 additions & 2 deletions motoko/invoice-canister/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
"whatwg-url": "^5.0.0"
},
"scripts": {
"test": "cd test/e2e; npm ci; npm test",
"test": "cd test/e2e; npm ci && npm test",
"deployAll": "node clean-startup.mjs",
"deployForTesting": "node clean-startup.mjs --deployForTesting --quiet; dfx generate invoice"
"deployForTesting": "node clean-startup.mjs --deployForTesting --quiet && dfx generate invoice"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 08f1a19

Please sign in to comment.