mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-06-16 19:43:13 +00:00
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
---
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
name: nox
|
|
'on':
|
|
push:
|
|
branches:
|
|
- main
|
|
- stable-*
|
|
pull_request:
|
|
# Run CI once per day (at 09:00 UTC)
|
|
schedule:
|
|
- cron: '0 9 * * *'
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
# Make sure there is at most one active run per PR, but do not cancel any non-PR runs
|
|
group: ${{ github.workflow }}-${{ (github.head_ref && github.event.number) || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
nox:
|
|
uses: ansible-community/antsibull-nox/.github/workflows/reusable-nox-run.yml@main
|
|
with:
|
|
session-name: Run extra sanity tests
|
|
change-detection-in-prs: true
|
|
|
|
ansible-test:
|
|
uses: ansible-community/antsibull-nox/.github/workflows/reusable-nox-matrix.yml@main
|
|
with:
|
|
change-detection-in-prs: true
|
|
upload-codecov: true
|
|
upload-codecov-pr: false
|
|
upload-codecov-push: false
|
|
upload-codecov-schedule: true
|
|
secrets:
|
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|