Skip to content

Commit 25d3100

Browse files
committed
tests: use ESM_DISABLE_CACHE, maybe it wil help
reenable full zoe tests
1 parent 207b6da commit 25d3100

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/test-all-packages.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
branches: [master]
99
pull_request:
1010

11+
# set ESM_DISABLE_CACHE=true (will be JSON parsed)
1112
jobs:
1213
build:
1314
runs-on: ubuntu-latest
@@ -212,6 +213,8 @@ jobs:
212213
${{ runner.os }}-go-
213214
- name: yarn test (cosmic-swingset)
214215
run: cd packages/cosmic-swingset && yarn test
216+
env:
217+
ESM_DISABLE_CACHE: true
215218

216219
test-swingset:
217220
# BEGIN-TEST-BOILERPLATE
@@ -243,6 +246,8 @@ jobs:
243246
# END-RESTORE-BOILERPLATE
244247
- name: yarn test (SwingSet)
245248
run: cd packages/SwingSet && yarn test
249+
env:
250+
ESM_DISABLE_CACHE: true
246251

247252
test-zoe:
248253
# BEGIN-TEST-BOILERPLATE
@@ -274,3 +279,5 @@ jobs:
274279
# END-RESTORE-BOILERPLATE
275280
- name: yarn test (zoe)
276281
run: cd packages/zoe && yarn test
282+
env:
283+
ESM_DISABLE_CACHE: true

packages/zoe/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"scripts": {
1010
"build": "yarn build-zcfBundle",
11-
"test": "ava --verbose --serial test/unitTests/test-offerSafety.js",
11+
"test": "ava --verbose",
1212
"build-zcfBundle": "node -r esm scripts/build-zcfBundle.js",
1313
"lint-fix": "yarn lint --fix",
1414
"lint-check": "yarn lint",

0 commit comments

Comments
 (0)