mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
* add noxfile with mkdocs build session * add nox build check * include reusable nox in ci workflow
27 lines
645 B
YAML
27 lines
645 B
YAML
---
|
|
name: nox
|
|
|
|
"on":
|
|
workflow_call:
|
|
|
|
jobs:
|
|
nox:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- session: build
|
|
python-versions: "3.11"
|
|
name: "Run nox ${{ matrix.session }} session"
|
|
steps:
|
|
- name: Check out repo
|
|
uses: actions/checkout@v4
|
|
- name: Setup nox
|
|
uses: wntrblm/nox@2024.03.02
|
|
with:
|
|
python-versions: "${{ matrix.python-versions }}"
|
|
- name: "Run nox -s ${{ matrix.session }}"
|
|
run: |
|
|
nox -s "${{ matrix.session }}"
|