2023-02-20 04:57:26 +08:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
-
|
|
|
|
name: Test
|
2023-04-19 14:56:39 +08:00
|
|
|
uses: docker/bake-action@v3
|
2023-02-20 04:57:26 +08:00
|
|
|
with:
|
|
|
|
targets: test
|
|
|
|
-
|
|
|
|
name: Upload coverage
|
|
|
|
uses: codecov/codecov-action@v3
|
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|