mirror of
https://github.com/docker/setup-compose-action.git
synced 2026-09-30 08:22:25 +02:00
36 lines
770 B
YAML
36 lines
770 B
YAML
name: test
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'releases/v*'
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
-
|
|
name: Test
|
|
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
|
|
with:
|
|
source: .
|
|
targets: test
|
|
-
|
|
name: Upload coverage
|
|
uses: codecov/codecov-action@0b35c9ecc4f0529d0eb674914510c22f85b196b4 # v7.1.0
|
|
with:
|
|
files: ./coverage/clover.xml
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|