Skip to content

Merge branch 'Windows81-patch-1' #184

Merge branch 'Windows81-patch-1'

Merge branch 'Windows81-patch-1' #184

name: test
on:
push:
branches:
- main
pull_request:
jobs:
install-test-coverage:
runs-on: ubuntu-latest
timeout-minutes: 7
container:
image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
options: --user 1001
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cypress install
uses: cypress-io/github-action@v6
with:
runTests: false
- name: Cypress info
run: npx cypress info
- name: Set API key
run: sh setup.sh ${{ secrets.ORS_API_KEY }}
- name: Run tests
run: npm run test:ci
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
# fix for https://github.com/codecov/codecov-action/issues/598 / https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
token: ${{ secrets.CODECOV_TOKEN }}