2020-08-16 20:32:27 -04:00
|
|
|
name: test
|
|
|
|
|
2023-09-05 04:59:10 -04:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-08-16 20:32:27 -04:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-03-28 10:43:51 -04:00
|
|
|
- 'master'
|
2023-02-20 16:54:11 -05:00
|
|
|
- 'releases/v*'
|
2020-08-16 20:32:27 -04:00
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2023-09-05 03:31:24 -04:00
|
|
|
uses: actions/checkout@v4
|
2020-08-16 20:32:27 -04:00
|
|
|
-
|
|
|
|
name: Test
|
2023-09-12 07:17:20 -04:00
|
|
|
uses: docker/bake-action@v4
|
2021-03-28 10:43:51 -04:00
|
|
|
with:
|
|
|
|
targets: test
|
2020-09-08 17:34:53 -04:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2024-02-01 06:49:00 -05:00
|
|
|
uses: codecov/codecov-action@v4
|
2020-09-08 17:34:53 -04:00
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|
2024-02-22 17:27:38 -05:00
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|