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