dagger-for-github/.github/workflows/test.yml
CrazyMax a99366016f
Use major
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-24 00:36:41 +02:00

33 lines
588 B
YAML

name: test
on:
push:
branches:
- 'main'
- 'releases/v*'
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
name: Validate
uses: docker/bake-action@v1
with:
targets: validate
-
name: Test
uses: docker/bake-action@v1
with:
targets: test
-
name: Upload coverage
uses: codecov/codecov-action@v2
with:
file: ./coverage/clover.xml