2020-10-25 03:21:46 +01:00
|
|
|
name: test
|
|
|
|
|
2023-09-05 11:02:47 +02:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-10-25 03:21:46 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
2020-10-25 15:36:42 +01:00
|
|
|
runs-on: ubuntu-latest
|
2020-10-25 03:21:46 +01:00
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2023-09-04 21:14:07 +02:00
|
|
|
uses: actions/checkout@v4
|
2020-10-25 03:21:46 +01:00
|
|
|
-
|
|
|
|
name: Test
|
2023-09-12 21:54:51 +02:00
|
|
|
uses: docker/bake-action@v4
|
2021-03-29 13:04:53 +02:00
|
|
|
with:
|
|
|
|
targets: test
|
2020-10-25 03:21:46 +01:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2024-02-23 09:05:37 +01:00
|
|
|
uses: codecov/codecov-action@v4
|
2020-10-25 03:21:46 +01:00
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|
2024-02-23 09:05:37 +01:00
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|