Skip to content

Bump ava from 5.3.1 to 6.1.3. Bump geckodriver from 3.2.0 to 4.4.0. B… #4102

Bump ava from 5.3.1 to 6.1.3. Bump geckodriver from 3.2.0 to 4.4.0. B…

Bump ava from 5.3.1 to 6.1.3. Bump geckodriver from 3.2.0 to 4.4.0. B… #4102

Workflow file for this run

name: Run regression tests
on:
pull_request:
paths:
- ".github/workflows/regression.yml"
- "package*.json"
- "test/**"
- "content/**/examples/**"
- "!content/landmarks/examples/**"
push:
branches-ignore:
- main
- "dependabot/**"
paths:
- ".github/workflows/regression.yml"
- "package*.json"
- "test/**"
- "content/**/examples/**"
- "!content/landmarks/examples/**"
jobs:
regression:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
CI_NODE_INDEX: [0, 1, 2, 3, 4]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
cache: npm
- name: Install npm dependencies
run: npm ci
- name: Run Ava on changed files in PR
run: ./scripts/regression-tests.sh
if: github.event_name == 'pull_request'
env:
COMMIT_RANGE: "origin/${{ github.base_ref }}...${{ github.sha }}"
CI_NODE_TOTAL: 5
CI_NODE_INDEX: ${{ matrix.CI_NODE_INDEX }}
TEST_WAIT_TIME: 10000
- name: Run Ava for changed files from origin branch
run: ./scripts/regression-tests.sh
if: github.event_name == 'push'
env:
COMMIT_RANGE: "origin/main...${{ github.ref }}"
CI_NODE_TOTAL: 5
CI_NODE_INDEX: ${{ matrix.CI_NODE_INDEX }}
TEST_WAIT_TIME: 10000