From ef6a2c0a7a599ec895cc8a316c53292c3807cca9 Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Mon, 23 Sep 2024 08:01:18 +0200 Subject: [PATCH 1/4] Update deps and expand test suite --- .github/workflows/testsuite.yml | 5 ++++- package/collection2/package.js | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index 58197ec..42eaaf3 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -9,6 +9,9 @@ jobs: tests: name: tests runs-on: ubuntu-latest + strategy: + matrix: + meteor: [ '1.12.1', '2.13.3', '3.0.3' ] # needs: [lintcode,lintstyle,lintdocs] # we could add prior jobs for linting, if desired steps: - name: checkout @@ -17,7 +20,7 @@ jobs: - name: Setup meteor uses: meteorengineer/setup-meteor@v1 with: - meteor-release: '2.13.3' + meteor-release: ${{ matrix.meteor }} - name: cache dependencies uses: actions/cache@v1 diff --git a/package/collection2/package.js b/package/collection2/package.js index 3826f7e..3e694ce 100644 --- a/package/collection2/package.js +++ b/package/collection2/package.js @@ -22,8 +22,8 @@ Package.onUse(function (api) { api.use('minimongo'); api.use('ejson'); api.use('ecmascript'); - api.use('raix:eventemitter@1.0.0'); - api.use('aldeed:simple-schema@1.13.1 || 2.0.0-rc.300.10'); + api.use('raix:eventemitter@2.0.0'); + api.use('aldeed:simple-schema@1.13.1 || 2.0.0'); api.addFiles(['./collection2.js']); @@ -36,7 +36,7 @@ Package.onUse(function (api) { Package.onTest(function (api) { api.versionsFrom(['1.12.1', '2.3', '3.0']); api.use([ - 'meteortesting:mocha@3.1.0-rc.1', - 'aldeed:collection2@4.0.2' + 'meteortesting:mocha@2.1.0 || 3.2.0', + 'aldeed:collection2' ]); }); From 07fa9b862f1ce0a7380b81e9e90003d4a33638ae Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Mon, 23 Sep 2024 08:03:12 +0200 Subject: [PATCH 2/4] Extend range for raix:eventemitter --- package/collection2/package.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/collection2/package.js b/package/collection2/package.js index 3e694ce..5a3cb75 100644 --- a/package/collection2/package.js +++ b/package/collection2/package.js @@ -22,7 +22,7 @@ Package.onUse(function (api) { api.use('minimongo'); api.use('ejson'); api.use('ecmascript'); - api.use('raix:eventemitter@2.0.0'); + api.use('raix:eventemitter@1.0.0 || 2.0.0'); api.use('aldeed:simple-schema@1.13.1 || 2.0.0'); api.addFiles(['./collection2.js']); From 412fa548796c7fb94d92aa84ec32769f54ac4d7b Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Tue, 12 Nov 2024 10:38:42 +0900 Subject: [PATCH 3/4] Update GitHub checkout --- .github/workflows/testsuite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index dc69fd0..c729cf5 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -15,7 +15,7 @@ jobs: # needs: [lintcode,lintstyle,lintdocs] # we could add prior jobs for linting, if desired steps: - name: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup meteor uses: meteorengineer/setup-meteor@v2 From 38226fd387c8f6a3a74835db31afa7210301169f Mon Sep 17 00:00:00 2001 From: Jan Dvorak Date: Tue, 12 Nov 2024 10:40:42 +0900 Subject: [PATCH 4/4] Remove tests for Meteor 1.12.1 For some reason the client tests were not running and Meteor 1 is deprecated. --- .github/workflows/testsuite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index c729cf5..21b009f 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - meteor: [ '1.12.1', '2.13.3', '3.0.4' ] + meteor: [ '2.13.3', '3.0.4' ] # needs: [lintcode,lintstyle,lintdocs] # we could add prior jobs for linting, if desired steps: - name: checkout