2020-08-21 08:45:16 -04:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-03-31 12:34:44 -04:00
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
2020-08-21 08:45:16 -04:00
|
|
|
pull_request:
|
2021-03-31 12:34:44 -04:00
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
2020-08-21 08:45:16 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
2021-03-31 12:34:44 -04:00
|
|
|
runs-on: ubuntu-latest
|
2020-08-21 08:45:16 -04:00
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2022-03-02 00:15:17 -05:00
|
|
|
uses: actions/checkout@v3
|
2020-08-21 08:45:16 -04:00
|
|
|
-
|
2021-03-31 12:34:44 -04:00
|
|
|
name: Validate
|
2022-05-05 13:36:43 -04:00
|
|
|
uses: docker/bake-action@v2
|
2021-03-31 12:34:44 -04:00
|
|
|
with:
|
|
|
|
targets: validate
|
2020-08-21 08:45:16 -04:00
|
|
|
-
|
|
|
|
name: Test
|
2022-05-05 13:36:43 -04:00
|
|
|
uses: docker/bake-action@v2
|
2021-03-31 12:34:44 -04:00
|
|
|
with:
|
|
|
|
targets: test
|
2020-08-21 08:45:16 -04:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2022-04-06 01:12:12 -04:00
|
|
|
uses: codecov/codecov-action@v3
|
2020-08-21 08:45:16 -04:00
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|