2020-08-17 08:32:27 +08:00
|
|
|
name: test
|
|
|
|
|
2023-09-05 16:59:10 +08:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-08-17 08:32:27 +08:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-03-28 22:43:51 +08:00
|
|
|
- 'master'
|
2023-02-21 05:54:11 +08:00
|
|
|
- 'releases/v*'
|
2020-08-17 08:32:27 +08:00
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Test
|
2025-01-08 19:54:04 +08:00
|
|
|
uses: docker/bake-action@v6
|
2021-03-28 22:43:51 +08:00
|
|
|
with:
|
|
|
|
targets: test
|
2020-09-09 05:34:53 +08:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2024-11-15 19:05:57 +08:00
|
|
|
uses: codecov/codecov-action@v5
|
2020-09-09 05:34:53 +08:00
|
|
|
with:
|
2024-11-26 17:56:40 +08:00
|
|
|
files: ./coverage/clover.xml
|
2024-02-23 06:27:38 +08:00
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|