Skip to content

Commit

Permalink
Change the source dir path in github workflows too
Browse files Browse the repository at this point in the history
  • Loading branch information
abadger committed Nov 14, 2021
1 parent fbc51ee commit 66d8f3f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/antsibull-lint-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:

- name: antsibull-lint collection-docs
run: |
coverage run -p --source antsibull -m antsibull.cli.antsibull_lint collection-docs community.general
coverage run -p --source src/antsibull -m antsibull.cli.antsibull_lint collection-docs community.general
- name: antsibull-lint changelog-yaml
run: |
coverage run -p --source antsibull -m antsibull.cli.antsibull_lint changelog-yaml community.general/changelogs/changelog.yaml
coverage run -p --source src/antsibull -m antsibull.cli.antsibull_lint changelog-yaml community.general/changelogs/changelog.yaml
- name: Combine and upload coverage stats
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
- name: Build CSS
run: |
./build.sh
working-directory: ./sphinx_antsibull_ext/css
working-directory: ./src/sphinx_antsibull_ext/css
6 changes: 3 additions & 3 deletions .github/workflows/build-simple-docsite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
- name: Use antsibull-docs sphinx-init
run: |
coverage run -p --source antsibull -m antsibull.cli.antsibull_docs sphinx-init --use-current --lenient --dest-dir .
coverage run -p --source src/antsibull -m antsibull.cli.antsibull_docs sphinx-init --use-current --lenient --dest-dir .
- name: Patch build.sh to supply code coverage
run: |
sed -i build.sh -e 's/antsibull-docs /coverage run -p --source antsibull -m antsibull.cli.antsibull_docs /g'
sed -i build.sh -e 's/sphinx-build /coverage run -p --source antsibull --source sphinx_antsibull_ext -m sphinx.cmd.build /g'
sed -i build.sh -e 's!antsibull-docs !coverage run -p --source src/antsibull -m antsibull.cli.antsibull_docs !g'
sed -i build.sh -e 's!sphinx-build !coverage run -p --source src/antsibull --source src/sphinx_antsibull_ext -m sphinx.cmd.build !g'
- name: Install dependencies
run: |
Expand Down

0 comments on commit 66d8f3f

Please sign in to comment.