2020-08-17 00:32:27 +00:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-03-28 14:43:51 +00:00
|
|
|
- 'master'
|
2020-08-17 00:32:27 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
2021-03-28 14:43:51 +00:00
|
|
|
- 'master'
|
2020-08-17 00:32:27 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2020-11-17 09:06:56 +00:00
|
|
|
uses: actions/checkout@v2
|
2020-08-17 00:32:27 +00:00
|
|
|
-
|
2021-03-28 14:43:51 +00:00
|
|
|
name: Validate
|
|
|
|
uses: docker/bake-action@v1
|
|
|
|
with:
|
|
|
|
targets: validate
|
2020-08-17 00:32:27 +00:00
|
|
|
-
|
|
|
|
name: Test
|
2021-03-28 14:43:51 +00:00
|
|
|
uses: docker/bake-action@v1
|
|
|
|
with:
|
|
|
|
targets: test
|
2020-09-08 21:34:53 +00:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2021-07-20 11:01:50 +00:00
|
|
|
uses: codecov/codecov-action@v2.0.1
|
2020-09-08 21:34:53 +00:00
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|