ghaction-upx/.github/workflows/test.yml

37 lines
641 B
YAML
Raw Normal View History

2020-01-17 01:36:42 -07:00
name: test
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
steps:
-
name: Checkout
2020-05-06 13:14:42 -06:00
uses: actions/checkout@v2
2020-01-17 01:36:42 -07:00
-
name: Install
2020-05-06 15:55:10 -06:00
run: npm install
2020-01-17 01:36:42 -07:00
-
name: Test
run: npm run test
2020-05-06 13:17:47 -06:00
-
name: Upload coverage
uses: codecov/codecov-action@v1
if: success()
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/clover.xml