2023-02-19 20:57:26 +00:00
|
|
|
name: test
|
|
|
|
|
2023-09-05 06:58:18 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2023-02-19 20:57:26 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2023-09-05 06:04:01 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-02-19 20:57:26 +00:00
|
|
|
-
|
|
|
|
name: Test
|
2024-06-18 06:58:30 +00:00
|
|
|
uses: docker/bake-action@v5
|
2023-02-19 20:57:26 +00:00
|
|
|
with:
|
|
|
|
targets: test
|
|
|
|
-
|
|
|
|
name: Upload coverage
|
2024-11-15 06:35:34 +00:00
|
|
|
uses: codecov/codecov-action@v5
|
2023-02-19 20:57:26 +00:00
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|
2024-02-23 08:21:42 +00:00
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|