Skip to content

Commit

Permalink
Check out antsiubll-docutils, and clean up nox workflow (#448)
Browse files Browse the repository at this point in the history
* Integrate antsibull-docutils into CI.

* Clean up nox workflow.

* Remove unnecessary expression.

Co-authored-by: Maxwell G <maxwell@gtmx.me>

---------

Co-authored-by: Maxwell G <maxwell@gtmx.me>
  • Loading branch information
felixfontein and gotmax23 committed Aug 22, 2024
1 parent 0c1c230 commit 75c2b9e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/antsibull-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ jobs:
ref: main
path: antsibull-changelog

- name: Check out antsibull-docutils
uses: actions/checkout@v4
with:
repository: ansible-community/antsibull-docutils
ref: main
path: antsibull-docutils

- name: Pre-create build directory
run: mkdir -p antsibull/build

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/nox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: antsibull
working-directory: ansible-build-data
strategy:
fail-fast: false
matrix:
Expand All @@ -31,17 +31,17 @@ jobs:
python-versions: "3.12"
name: "Run nox ${{ matrix.session }} session"
steps:
- name: Check out antsibull
- name: Check out ansible-build-data
uses: actions/checkout@v4
with:
path: antsibull
path: ansible-build-data
- name: Setup nox
uses: wntrblm/nox@2024.04.15
with:
python-versions: "${{ matrix.python-versions }}"
- name: Set up nox environments
run: |
OTHER_ANTSIBULL_MODE=git nox -v -e "${{ matrix.session }}" ${{ matrix.codecov && 'coverage' || '' }} --install-only
nox -v -e "${{ matrix.session }}" --install-only
- name: "Run nox -e ${{ matrix.session }}"
run: |
OTHER_ANTSIBULL_MODE=git nox -v -e "${{ matrix.session }}" --reuse-existing-virtualenvs --no-install
nox -v -e "${{ matrix.session }}" --reuse-existing-virtualenvs --no-install

0 comments on commit 75c2b9e

Please sign in to comment.