-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/meteor-3
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 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,37 @@ | ||
# the test suite runs the tests (headless, server+client) for multiple Meteor releases | ||
name: Test suite | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
meteorRelease: | ||
- "--release 2.7" | ||
- "--release 2.8.1" | ||
- "--release 2.15" | ||
# Latest version | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "14.x" | ||
|
||
- name: Install Dependencies | ||
run: | | ||
curl https://install.meteor.com | /bin/sh | ||
npm i -g @zodern/mtest | ||
- name: Run Tests | ||
run: | | ||
# Fix using old versions of Meteor | ||
export NODE_TLS_REJECT_UNAUTHORIZED=0 | ||
mtest --package ./ --once ${{ matrix.meteorRelease }} |