2020-05-03 15:09:41 -04:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2020-05-23 19:14:15 -04:00
|
|
|
- master
|
|
|
|
- releases/v*
|
2020-05-07 14:57:28 -04:00
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
2020-05-03 15:09:41 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
2020-05-03 15:35:54 -04:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os:
|
|
|
|
- ubuntu-latest
|
|
|
|
- macOS-latest
|
2020-05-05 18:31:46 -04:00
|
|
|
- windows-latest
|
2020-05-03 15:09:41 -04:00
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2020-08-10 14:24:21 -04:00
|
|
|
uses: actions/checkout@v2.3.2
|
2020-05-03 15:09:41 -04:00
|
|
|
-
|
|
|
|
name: Install
|
2020-06-10 16:21:27 -04:00
|
|
|
run: yarn install
|
2020-05-03 15:09:41 -04:00
|
|
|
-
|
|
|
|
name: Test
|
2020-06-10 16:21:27 -04:00
|
|
|
run: yarn run test
|
2020-05-06 12:00:13 -04:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2020-08-18 08:05:39 -04:00
|
|
|
uses: codecov/codecov-action@v1.0.13
|
2020-05-06 12:00:13 -04:00
|
|
|
if: success()
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
|
|
file: ./coverage/clover.xml
|