perf: reduce GC pressure by avoiding EJSON.clone #110
Workflow file for this run
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
name: Tests | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
meteor: [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.5.0 | |
with: | |
redis-version: ${{ matrix.redis-version }} | |
- name: Setup Meteor | |
uses: meteorengineer/setup-meteor@v1 | |
with: | |
meteor-release: ${{ matrix.meteor }} | |
- name: Setup tests | |
run: | | |
meteor create --release ${{ matrix.meteor }} --bare test | |
cd test | |
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 ../ |