2020-01-17 01:36:42 -07:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-03-27 10:45:19 -06:00
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
2020-05-23 17:14:30 -06:00
|
|
|
pull_request:
|
2021-03-27 10:45:19 -06:00
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
2020-01-17 01:36:42 -07:00
|
|
|
|
|
|
|
jobs:
|
2021-03-30 14:40:52 -06:00
|
|
|
test:
|
2021-03-27 10:45:19 -06:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2022-03-01 23:27:14 -07:00
|
|
|
uses: actions/checkout@v3
|
2021-03-27 10:45:19 -06:00
|
|
|
-
|
|
|
|
name: Validate
|
|
|
|
uses: docker/bake-action@v1
|
|
|
|
with:
|
|
|
|
targets: validate
|
|
|
|
-
|
|
|
|
name: Test
|
|
|
|
uses: docker/bake-action@v1
|
|
|
|
with:
|
|
|
|
targets: test
|
2020-05-06 13:17:47 -06:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2022-04-06 03:37:16 -06:00
|
|
|
uses: codecov/codecov-action@v3
|
2020-05-06 13:17:47 -06:00
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|