Improved testing options #1
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: Run e2e tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
chrome-tests: | |
name: Run Chrome e2e tests | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: NPM install | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Run server | |
run: npm run test:server & | |
- name: Run e2e tests for chrome | |
run: npm run test:e2e -- --browsers=chrome | |
firefox-tests: | |
name: Run Firefox e2e tests | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: NPM install | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Run server | |
run: npm run test:server & | |
- name: Run e2e tests for firefox | |
run: npm run test:e2e -- --browsers=firefox | |
safari-tests: | |
name: Run Safari e2e tests | |
runs-on: macos-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: NPM install | |
run: npm install | |
- name: Build | |
run: npm run build | |
- name: Run server | |
run: npm run test:server & | |
- name: Run e2e tests for safari | |
run: npm run test:e2e -- --browsers=safari |