Skip to content

Commit 7ef2a2f

Browse files
committed
CI: Use version 5.10.0 to test builds in CI
The purpose of the job is to build what would be the next version of ansible, including the changes of the PR, to see if it works. We were trying to build ansible 5.0.0 in the job because that's what the role defaults to. Specify a future (unreleased) version so we can test the build properly.
1 parent 7fd259b commit 7ef2a2f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@ jobs:
3737
python3 -m pip install --upgrade pip
3838
python3 -m pip install poetry ansible-core
3939
40+
# Using ansible_version as 5.10.0 since it is unreleased so new deps are generated
4041
- name: Test building a release with the defaults
4142
working-directory: antsibull
4243
run: |
4344
ansible-playbook -vv playbooks/build-single-release.yaml \
4445
-e 'antsibull_build_command="poetry run coverage run -p --source antsibull -m antsibull.cli.antsibull_build"' \
45-
-e antsibull_data_reset=false
46+
-e antsibull_data_reset=false \
47+
-e antsibull_ansible_version=5.10.0
4648
4749
- name: Combine and upload coverage stats
4850
working-directory: antsibull

0 commit comments

Comments
 (0)