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