Run extra sanity tests with nox. (#1068)

This commit is contained in:
Felix Fontein
2025-04-19 17:54:12 +02:00
committed by GitHub
parent 8694f488d7
commit e20118b68f
21 changed files with 71 additions and 408 deletions
-20
View File
@@ -1,20 +0,0 @@
---
# 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: import-galaxy
'on':
# Run CI against all pushes (direct commits, also merged PRs) to main, and all Pull Requests
push:
branches:
- main
- stable-*
pull_request:
jobs:
import-galaxy:
permissions:
contents: read
name: Test to import built collection artifact with Galaxy importer
uses: ansible-community/github-action-test-galaxy-import/.github/workflows/test-galaxy-import.yml@main
@@ -3,31 +3,26 @@
# 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: Verify REUSE
on:
name: nox
'on':
push:
branches:
- main
- stable-*
pull_request:
branches:
- main
- stable-*
# Run CI once per day (at 04:30 UTC)
schedule:
- cron: '30 4 * * *'
workflow_dispatch:
jobs:
check:
permissions:
contents: read
nox:
runs-on: ubuntu-latest
name: "Run extra sanity tests"
steps:
- uses: actions/checkout@v4
- name: Check out collection
uses: actions/checkout@v4
with:
persist-credentials: false
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v5
- name: Run nox
uses: ansible-community/antsibull-nox@main