2020-08-18 11:40:31 -04:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- releases/v*
|
|
|
|
paths-ignore:
|
2020-08-18 11:45:23 -04:00
|
|
|
- "**.md"
|
2020-08-18 11:40:31 -04:00
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
2020-08-18 11:45:23 -04:00
|
|
|
- "**.md"
|
2020-08-18 11:40:31 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2020-08-19 07:25:48 -04:00
|
|
|
uses: actions/checkout@v2.3.2
|
2020-08-18 11:40:31 -04:00
|
|
|
-
|
|
|
|
name: Install
|
|
|
|
run: yarn install
|
|
|
|
-
|
|
|
|
name: Test
|
|
|
|
run: yarn run test
|
|
|
|
# -
|
|
|
|
# name: Upload coverage
|
|
|
|
# uses: codecov/codecov-action@v1.0.7
|
|
|
|
# if: success()
|
|
|
|
# with:
|
|
|
|
# token: ${{ secrets.CODECOV_TOKEN }}
|
|
|
|
# file: ./coverage/clover.xml
|