2020-08-21 14:45:16 +02:00
|
|
|
name: test
|
|
|
|
|
2023-09-05 11:00:45 +02:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-08-21 14:45:16 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-03-31 18:34:44 +02:00
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
2020-08-21 14:45:16 +02:00
|
|
|
pull_request:
|
|
|
|
|
|
|
|
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
|
2023-09-05 07:39:46 +02:00
|
|
|
uses: actions/checkout@v4
|
2020-08-21 14:45:16 +02:00
|
|
|
-
|
|
|
|
name: Test
|
2024-06-18 07:46:15 +02:00
|
|
|
uses: docker/bake-action@v5
|
2021-03-31 18:34:44 +02:00
|
|
|
with:
|
|
|
|
targets: test
|
2020-08-21 14:45:16 +02:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2024-11-15 06:13:15 +01:00
|
|
|
uses: codecov/codecov-action@v5
|
2020-08-21 14:45:16 +02:00
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|
2024-02-23 09:00:01 +01:00
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|