2020-08-18 15:40:31 +00:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-04-01 23:19:14 +00:00
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
2020-08-18 15:40:31 +00:00
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2022-03-02 04:03:41 +00:00
|
|
|
uses: actions/checkout@v3
|
2021-04-23 16:14:38 +00:00
|
|
|
-
|
|
|
|
name: Set up Docker Buildx
|
|
|
|
uses: ./
|
2020-08-18 15:40:31 +00:00
|
|
|
-
|
|
|
|
name: Test
|
2022-05-05 17:43:45 +00:00
|
|
|
uses: docker/bake-action@v2
|
2021-04-01 23:19:14 +00:00
|
|
|
with:
|
|
|
|
targets: test
|
2020-08-27 15:41:10 +00:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2022-04-06 04:02:53 +00:00
|
|
|
uses: codecov/codecov-action@v3
|
2020-08-27 15:41:10 +00:00
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|