Skip to content

Commit f0ab278

Browse files
committed
github ci: Add missing coverage command
The way to recover coverage was changed in antsibull recently: ansible-community/antsibull-build@c1cda56
1 parent a2ed334 commit f0ab278

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/antsibull-build-6.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
working-directory: antsibull
4141
run: |
4242
ansible-playbook -vv playbooks/build-single-release.yaml \
43+
-e 'antsibull_build_command="poetry run coverage run -p --source antsibull -m antsibull.cli.antsibull_build"' \
4344
-e antsibull_build_file=ansible-6.build \
4445
-e antsibull_ansible_version=6.0.0a1 \
4546
-e antsibull_data_dir="{{ antsibull_data_git_dir }}/6" \

.github/workflows/antsibull-build-default.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
- name: Test building a release with the defaults
4141
working-directory: antsibull
4242
run: |
43-
ansible-playbook -vv playbooks/build-single-release.yaml -e antsibull_data_reset=false
43+
ansible-playbook -vv playbooks/build-single-release.yaml \
44+
-e 'antsibull_build_command="poetry run coverage run -p --source antsibull -m antsibull.cli.antsibull_build"' \
45+
-e antsibull_data_reset=false
4446
4547
- name: Combine and upload coverage stats
4648
working-directory: antsibull

0 commit comments

Comments
 (0)