-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #414 from Meteor-Community-Packages/meteor-3
Meteor 3
- Loading branch information
Showing
94 changed files
with
3,723 additions
and
3,573 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
function @setup-test() { | ||
local meteor_version=${1:-"3.1"} | ||
|
||
echo "🚀 Setting up test environment for Meteor ${meteor_version}" | ||
|
||
rm -rf test | ||
meteor create --release ${meteor_version} --bare test | ||
|
||
( | ||
cd test | ||
meteor npm i --save [email protected] [email protected] [email protected] | ||
) | ||
} | ||
|
||
function @test() { | ||
local meteor_version=${1:-"3.1"} | ||
|
||
echo "🚀 Running tests with Meteor ${meteor_version}" | ||
|
||
( | ||
cd test | ||
METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteor test-packages \ | ||
--raw-logs \ | ||
--once \ | ||
--driver-package meteortesting:mocha \ | ||
--release ${meteor_version} \ | ||
--exclude-archs=web.browser.legacy \ | ||
../ | ||
) | ||
} | ||
|
||
function @testd { | ||
( | ||
cd test | ||
METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteord test-packages \ | ||
--raw-logs \ | ||
--once \ | ||
--driver-package meteortesting:mocha \ | ||
--exclude-archs=web.browser.legacy \ | ||
../ | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
name: Tests | ||
|
||
on: [push, pull_request] | ||
on: [pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
meteor: [1.12.2, 2.8.1, 2.12, 2.15] | ||
meteor: ["3.0.3", "3.0.4", "3.1"] | ||
redis-version: [4, 5, 6, 7] | ||
|
||
steps: | ||
|
@@ -26,7 +27,7 @@ jobs: | |
run: | | ||
meteor create --release ${{ matrix.meteor }} --bare test | ||
cd test | ||
meteor npm i --save [email protected] simpl-schema@1.13.1 chai@4 | ||
meteor npm i --save [email protected] simpl-schema@3.4.6 chai@4.3.6 | ||
- name: Test | ||
working-directory: ./test | ||
run: METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteor test-packages --raw-logs --once --driver-package meteortesting:mocha ../ | ||
run: METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=puppeteer meteor test-packages --raw-logs --once --driver-package meteortesting:mocha --release ${{ matrix.meteor }} ../ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
dump.rdb | ||
npm-debug.log | ||
.idea/ | ||
|
||
node_modules | ||
test/ | ||
node_modules/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.idea/ | ||
.github/ | ||
test/ | ||
docs/ | ||
testing/ | ||
node_modules/ | ||
package-lock.json | ||
test/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"semi": true, | ||
"singleQuote": false, | ||
"trailingComma": "es5", | ||
"bracketSpacing": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.