2020-01-17 01:36:42 -07:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-03-27 10:45:19 -06:00
|
|
|
- 'master'
|
|
|
|
- 'releases/v*'
|
2020-05-23 17:14:30 -06:00
|
|
|
pull_request:
|
2023-01-29 07:24:04 -07:00
|
|
|
paths-ignore:
|
|
|
|
- '.github/upx-releases.json'
|
2020-01-17 01:36:42 -07:00
|
|
|
|
|
|
|
jobs:
|
2021-03-30 14:40:52 -06:00
|
|
|
test:
|
2021-03-27 10:45:19 -06:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2022-03-01 23:27:14 -07:00
|
|
|
uses: actions/checkout@v3
|
2021-03-27 10:45:19 -06:00
|
|
|
-
|
|
|
|
name: Validate
|
2023-04-18 22:56:42 -06:00
|
|
|
uses: docker/bake-action@v3
|
2021-03-27 10:45:19 -06:00
|
|
|
with:
|
|
|
|
targets: validate
|
|
|
|
-
|
|
|
|
name: Test
|
2023-04-18 22:56:42 -06:00
|
|
|
uses: docker/bake-action@v3
|
2021-03-27 10:45:19 -06:00
|
|
|
with:
|
|
|
|
targets: test
|
2020-05-06 13:17:47 -06:00
|
|
|
-
|
|
|
|
name: Upload coverage
|
2022-04-06 03:37:16 -06:00
|
|
|
uses: codecov/codecov-action@v3
|
2020-05-06 13:17:47 -06:00
|
|
|
with:
|
|
|
|
file: ./coverage/clover.xml
|