mirror of
https://github.com/docker/setup-compose-action.git
synced 2025-05-31 17:10:41 +02:00
39 lines
748 B
YAML
39 lines
748 B
YAML
name: test
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'releases/v*'
|
|
pull_request:
|
|
|
|
env:
|
|
SETUP_BUILDX_VERSION: "edge"
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
with:
|
|
version: ${{ env.SETUP_BUILDX_VERSION }}
|
|
driver: docker
|
|
-
|
|
name: Test
|
|
uses: docker/bake-action@v6
|
|
with:
|
|
targets: test
|
|
-
|
|
name: Upload coverage
|
|
uses: codecov/codecov-action@v5
|
|
with:
|
|
files: ./coverage/clover.xml
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|