Skip to content

fix: env is not passed to worker threads #10

fix: env is not passed to worker threads

fix: env is not passed to worker threads #10

Workflow file for this run

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/bstackdemo --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/bstackdemo --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/bstackdemo -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/bstackdemo -e chrome,firefox --config examples/tests/e2e.conf.js --headless