Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check out antsiubll-docutils, and clean up nox workflow #448

Merged
merged 3 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}" ${{ matrix.codecov && 'coverage' || '' }} --install-only
felixfontein marked this conversation as resolved.
Show resolved Hide resolved
- 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