2020-08-18 17:40:31 +02:00
|
|
|
name: test
|
|
|
|
|
2023-09-05 11:09:23 +02:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-08-18 17:40:31 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-04-02 01:19:14 +02:00
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
2020-08-18 17:40:31 +02:00
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2023-09-05 06:34:21 +02:00
|
|
|
uses: actions/checkout@v4
|
2021-04-23 18:14:38 +02:00
|
|
|
-
|
|
|
|
name: Set up Docker Buildx
|
|
|
|
uses: ./
|
2020-08-18 17:40:31 +02:00
|
|
|
-
|
|
|
|
name: Test
|
2023-09-13 06:57:52 +02:00
|
|
|
uses: docker/bake-action@v4
|
2021-04-02 01:19:14 +02:00
|
|
|
with:
|
|
|
|
targets: test
|
2020-08-27 17:41:10 +02:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2022-04-06 06:02:53 +02:00
|
|
|
uses: codecov/codecov-action@v3
|
2020-08-27 17:41:10 +02:00
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|