fix: env is not passed to worker threads #8
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: e2e-tests | |
on: | |
push: | |
pull_request: | |
branches: [ main] | |
jobs: | |
Parallel-Tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, macos-latest, ubuntu-latest] | |
node-version: [14.x, 16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Geckodriver | |
run: npm i geckodriver | |
- name: Install Dependencies | |
run: npm ci | |
- run: ./bin/nightwatch examples/tests/ --config examples/tests/e2e.conf.js --headless | |
Serial-Tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, macos-latest, ubuntu-latest] | |
node-version: [14.x, 16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Geckodriver | |
run: npm i geckodriver | |
- name: Install Dependencies | |
run: npm ci | |
- run: ./bin/nightwatch examples/tests/ --serial --config examples/tests/e2e.conf.js --headless | |
Single-Browser-Tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, macos-latest, ubuntu-latest] | |
node-version: [14.x, 16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Chromedriver | |
run: npm i chromedriver | |
- name: Install Dependencies | |
run: npm ci | |
- run: ./bin/nightwatch examples/tests/ -e chrome --config examples/tests/e2e.conf.js --headless | |
Multiple-Browser-Tests: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, macos-latest, ubuntu-latest] | |
node-version: [14.x, 16.x, 18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Chromedriver & Geckodriver | |
run: npm i geckodriver chromedriver | |
- name: Install Dependencies | |
run: npm ci | |
- run: ./bin/nightwatch examples/tests/ -e chrome,firefox --config examples/tests/e2e.conf.js --headless |