2020-08-17 00:32:27 +00:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
2020-10-23 19:58:59 +00:00
|
|
|
test-containerized:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2020-11-04 06:20:47 +00:00
|
|
|
uses: actions/checkout@v2.3.4
|
2020-10-23 19:58:59 +00:00
|
|
|
-
|
|
|
|
name: Validate
|
|
|
|
run: docker buildx bake validate
|
|
|
|
-
|
|
|
|
name: Test
|
|
|
|
run: docker buildx bake test
|
|
|
|
|
2020-08-17 00:32:27 +00:00
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2020-11-04 06:20:47 +00:00
|
|
|
uses: actions/checkout@v2.3.4
|
2020-08-17 00:32:27 +00:00
|
|
|
-
|
|
|
|
name: Install
|
|
|
|
run: yarn install
|
|
|
|
-
|
|
|
|
name: Test
|
|
|
|
run: yarn run test
|
2020-09-08 21:34:53 +00:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2020-10-19 06:51:35 +00:00
|
|
|
uses: codecov/codecov-action@v1.0.14
|
2020-09-08 21:34:53 +00:00
|
|
|
if: success()
|
|
|
|
with:
|
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
|
|
file: ./coverage/clover.xml
|