2020-08-18 11:40:31 -04:00
|
|
|
name: test
|
|
|
|
|
2023-09-05 05:09:23 -04:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-08-18 11:40:31 -04:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-04-01 19:19:14 -04:00
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
2020-08-18 11:40:31 -04:00
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2023-09-05 00:34:21 -04:00
|
|
|
uses: actions/checkout@v4
|
2021-04-23 12:14:38 -04:00
|
|
|
-
|
|
|
|
name: Set up Docker Buildx
|
|
|
|
uses: ./
|
2020-08-18 11:40:31 -04:00
|
|
|
-
|
|
|
|
name: Test
|
2024-06-18 00:09:56 -04:00
|
|
|
uses: docker/bake-action@v5
|
2021-04-01 19:19:14 -04:00
|
|
|
with:
|
|
|
|
targets: test
|
2020-08-27 11:41:10 -04:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2024-11-14 23:48:17 -05:00
|
|
|
uses: codecov/codecov-action@v5
|
2020-08-27 11:41:10 -04:00
|
|
|
with:
|
2024-12-12 09:02:42 -05:00
|
|
|
files: ./coverage/clover.xml
|
2024-02-23 03:15:27 -05:00
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|