Skip to content

Post-release version bump. #391

Post-release version bump.

Post-release version bump. #391

Workflow file for this run

---
# 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
# SPDX-FileCopyrightText: 2023 Maxwell G <[email protected]
name: nox
'on':
push:
branches: [main]
pull_request:
branches: [main]
# Run once per week (Monday at 04:00 UTC)
schedule:
- cron: '0 4 * * 1'
workflow_dispatch:
env:
FORCE_COLOR: "1"
jobs:
nox:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- session: test
python-versions: "3.9, 3.10, 3.11, 3.12, 3.13"
force-python: ""
other-args: ""
codecov: true
packages: ""
- session: lint
python-versions: "3.13"
force-python: "3.13"
other-args: ""
codecov: false
packages: ""
- session: create_vectors
python-versions: "3.13"
force-python: "3.13"
other-args: ""
codecov: false
packages: ""
name: "Run nox ${{ matrix.session }} session"
steps:
- name: Check out antsibull-docs-parser
uses: actions/checkout@v5
with:
path: antsibull-docs-parser
persist-credentials: false
- name: Install extra packages
if: "matrix.packages != ''"
run: |
sudo apt-get install -y ${{ matrix.packages }}
- name: Setup nox
uses: wntrblm/[email protected]
with:
python-versions: "${{ matrix.python-versions }}"
- name: Run nox
uses: ansible-community/github-action-run-nox@v1
with:
sessions: ${{ matrix.session }}
force-pythons: ${{ matrix.force-python }}
working-directory: antsibull-docs-parser
codecov: ${{ matrix.codecov }}
codecov-session: coverage
codecov-token: ${{ secrets.CODECOV_TOKEN }}