From 1ad1cdce171214b53b30c16f971f7e5d00a7deb6 Mon Sep 17 00:00:00 2001 From: filipenevola Date: Thu, 7 Dec 2023 17:18:45 -0400 Subject: [PATCH] Test zodern mtest --- .github/workflows/test.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..aaee7ad --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,31 @@ +# the test suite runs the tests (headless, server+client) for multiple Meteor releases +name: Test suite +on: + push: + branches: + - meteor-3 + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + meteorRelease: + - '--release 3.0-alpha.19' + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install Node.js + uses: actions/setup-node@v4 + with: + node-version: '12.x' + + - name: Install Dependencies + run: | + curl https://install.meteor.com | /bin/sh + npm i -g @zodern/mtest + - name: Run Tests + run: | + mtest --package ./ --once ${{ matrix.meteorRelease }}