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

build-release: directly install the wheel for testing #553

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions changelogs/fragments/553-release-wheel-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
minor_changes:
- build-release role - directly install the wheel when running tests
(https://github.com/ansible-community/antsibull/pull/553).
4 changes: 2 additions & 2 deletions roles/build-release/tasks/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
ansible.builtin.set_fact:
_python_version: "python{{ ansible_python.version.major }}.{{ ansible_python.version.minor }}"

- name: Install the release tarball in a virtualenv so we can test it
- name: Install the release wheel in a virtualenv so we can test it
ansible.builtin.pip:
name: "file://{{ _release_archive }}"
name: "file://{{ _release_wheel }}"
state: present
virtualenv: "{{ antsibull_ansible_venv }}"
virtualenv_command: "{{ ansible_python.executable }} -m venv"
Expand Down