2020-08-21 20:45:16 +08:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-04-01 00:34:44 +08:00
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
2020-08-21 20:45:16 +08:00
|
|
|
pull_request:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
2021-04-01 00:34:44 +08:00
|
|
|
runs-on: ubuntu-latest
|
2020-08-21 20:45:16 +08:00
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2022-03-02 13:15:17 +08:00
|
|
|
uses: actions/checkout@v3
|
2020-08-21 20:45:16 +08:00
|
|
|
-
|
|
|
|
name: Test
|
2023-04-19 13:58:19 +08:00
|
|
|
uses: docker/bake-action@v3
|
2021-04-01 00:34:44 +08:00
|
|
|
with:
|
|
|
|
targets: test
|
2020-08-21 20:45:16 +08:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2022-04-06 13:12:12 +08:00
|
|
|
uses: codecov/codecov-action@v3
|
2020-08-21 20:45:16 +08:00
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|