Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buildfix babel wdio #447

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
add node 14 test,
bubonicfred committed Jul 12, 2023
commit 060dff52028dd9ffe624ed17068bb606cb19bf1f
53 changes: 53 additions & 0 deletions .github/workflows/runtests.js.yml
Original file line number Diff line number Diff line change
@@ -234,3 +234,56 @@ jobs:
with:
name: E2E Mongodump
path: tests/mongodump



Node14:
runs-on: ubuntu-latest
strategy:
fail-fast: true # When set to true, GitHub cancels all in-progress jobs if any matrix job fails. Default: true
matrix: # max. 20 concurrent jobs https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#usage-limits
e2etest:
- tests/end2end/MeetingSeries-test.js
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.21.3'

- run: sudo apt-get install gcc-12 g++ build-essential -y --option Acquire::Retries=100 --option Acquire::http::Timeout="300"
- run: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 50

- run: |
sudo wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add -
sudo echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
mongodump --version

- run: curl https://install.meteor.com | /bin/sh
- run: npm install chromedriver@^114.0.0
- run: google-chrome --version
- run: npm install

- run: mkdir ./tests/mongodump

- run: ./tests/run_e2e.sh ${{ matrix.e2etest }}

- name: Upload E2E screenshot artifacts
if: always()
uses: actions/upload-artifact@v1
with:
name: E2E Screenshots
path: tests/snapshots
- name: Upload E2E log artifacts
if: always()
uses: actions/upload-artifact@v1
with:
name: E2E Logs
path: tests/end2end/logs
- name: Upload E2E MongoDB artifacts
if: always()
uses: actions/upload-artifact@v1
with:
name: E2E Mongodump
path: tests/mongodump
2 changes: 1 addition & 1 deletion tests/unit/server/migrations/migrations.test.js
Original file line number Diff line number Diff line change
@@ -50,7 +50,7 @@ describe('Migrations', function () {
};

backupMongo.update.resetHistory();
Migrations.migrateTo.reset();
Migrations.migrateTo.resetHistory();
});

afterEach(function () {