From 38340bc7b454e1a09b102bdb4c6590e588c04b27 Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Sat, 30 Mar 2024 17:49:05 +0100 Subject: [PATCH 1/3] Update test dependencies & revert redis action version --- .github/workflows/test.yml | 4 ++-- package.js | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 894bc956..5680f80b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,14 +7,14 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - meteor: [1.12.2, 2.8.1, 2.13, 2.15] + meteor: [1.12.2, 2.6.1, 2.7.3, 2.8.1, 2.12, 2.15] redis-version: [4, 5, 6, 7] steps: - uses: actions/checkout@v4 - name: Start Redis - uses: supercharge/redis-github-action@1.8.0 + uses: supercharge/redis-github-action@1.5.0 with: redis-version: ${{ matrix.redis-version }} diff --git a/package.js b/package.js index 48bebfa5..c1459c47 100644 --- a/package.js +++ b/package.js @@ -40,8 +40,8 @@ Package.onTest(function(api) { api.use('cultofcoders:redis-oplog'); // extensions - api.use('aldeed:collection2@3.0.0'); - api.use('reywood:publish-composite@1.7.3'); + api.use('aldeed:collection2@3.5.0'); + api.use('reywood:publish-composite@1.8.8'); api.use('natestrauser:publish-performant-counts@0.1.2'); // api.use('socialize:user-presence@1.0.4'); @@ -50,8 +50,8 @@ Package.onTest(function(api) { api.use('mongo'); api.use('random'); api.use('accounts-password'); - api.use('matb33:collection-hooks@1.1.2'); - api.use('alanning:roles@3.5.1'); + api.use('matb33:collection-hooks@1.3.1'); + api.use('alanning:roles@3.6.2'); api.use(['meteortesting:mocha']); From 08e2cb8b586e1a816e7c4e3fb25e25839f7b0c8b Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Sat, 30 Mar 2024 19:56:02 +0100 Subject: [PATCH 2/3] More reverts --- .github/workflows/test.yml | 2 +- package.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5680f80b..7dc7efbd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - meteor: [1.12.2, 2.6.1, 2.7.3, 2.8.1, 2.12, 2.15] + meteor: [1.12.2, 2.8.1, 2.12, 2.15] redis-version: [4, 5, 6, 7] steps: diff --git a/package.js b/package.js index c1459c47..48bebfa5 100644 --- a/package.js +++ b/package.js @@ -40,8 +40,8 @@ Package.onTest(function(api) { api.use('cultofcoders:redis-oplog'); // extensions - api.use('aldeed:collection2@3.5.0'); - api.use('reywood:publish-composite@1.8.8'); + api.use('aldeed:collection2@3.0.0'); + api.use('reywood:publish-composite@1.7.3'); api.use('natestrauser:publish-performant-counts@0.1.2'); // api.use('socialize:user-presence@1.0.4'); @@ -50,8 +50,8 @@ Package.onTest(function(api) { api.use('mongo'); api.use('random'); api.use('accounts-password'); - api.use('matb33:collection-hooks@1.3.1'); - api.use('alanning:roles@3.6.2'); + api.use('matb33:collection-hooks@1.1.2'); + api.use('alanning:roles@3.5.1'); api.use(['meteortesting:mocha']); From 24b43a6339d7ba7100ae5aa696f194f04dcf9d21 Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Sat, 30 Mar 2024 19:58:38 +0100 Subject: [PATCH 3/3] Use simpl-schema compatible with Meteor in testing --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7dc7efbd..321a5cba 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: run: | meteor create --release ${{ matrix.meteor }} --bare test cd test - meteor npm i --save puppeteer@1.18.1 simpl-schema chai + meteor npm i --save puppeteer@1.18.1 simpl-schema@1.13.1 chai - name: Test working-directory: ./test run: METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteor test-packages --raw-logs --once --driver-package meteortesting:mocha ../