2020-05-03 15:09:41 -04:00
|
|
|
name: test
|
|
|
|
|
2023-05-06 17:46:50 -04:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-05-03 15:09:41 -04:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-03-30 14:00:40 -04:00
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
2020-05-07 14:57:28 -04:00
|
|
|
pull_request:
|
2020-05-03 15:09:41 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
2021-03-30 14:00:40 -04:00
|
|
|
runs-on: ubuntu-latest
|
2020-05-03 15:09:41 -04:00
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2023-09-05 01:14:02 -04:00
|
|
|
uses: actions/checkout@v4
|
2020-05-03 15:09:41 -04:00
|
|
|
-
|
|
|
|
name: Test
|
2024-06-18 01:21:35 -04:00
|
|
|
uses: docker/bake-action@v5
|
2021-03-30 14:00:40 -04:00
|
|
|
with:
|
|
|
|
targets: test
|
2020-05-06 12:00:13 -04:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2024-11-15 00:16:02 -05:00
|
|
|
uses: codecov/codecov-action@v5
|
2020-05-06 12:00:13 -04:00
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|
2024-04-08 03:35:36 -04:00
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|