mathjs/.github/workflows/browserstack.yaml
Jos de Jong 0a093307b8
Setup Foresight testing workflow (#2802)
* Add Foresight configuration for Github Actions

* Temporarily update Foresight config to trigger in feature branch too

* Fix foresight config

* Change `test_path` to point to a folder with the test results

* Remove quotes from test_path

* Use the default naming of test-results.xml again

* Make the test output file explicit

* Remove redundant environment variables

* Only run foresight workflow on `main` and `develop` branches

* Upgrade to `actions/checkout@v3` and `actions/setup-node@v3` in the Github Actions workflows
2022-10-06 14:06:40 +02:00

24 lines
499 B
YAML

name: Browser testing on browser stack
on:
push:
branches:
- '*'
tags:
jobs:
browser-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npm ci
- run: npm run test:browserstack
env:
CI: true
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }}
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}