public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tomas Tomecek <ttomecek@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-docker] epel10.2: tests: use python 3, add makefile
Date: Tue, 13 Oct 2026 18:26:59 GMT [thread overview]
Message-ID: <179191601989.1.8299028906190364071.rpms-python-docker-dce2760816a9@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-docker
Branch : epel10.2
Commit : dce2760816a99b6f9172a035fc28d585e6f5fbf5
Author : Tomas Tomecek <ttomecek@redhat.com>
Date : 2018-02-23T16:11:02+01:00
Stats : +10/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-docker/c/dce2760816a99b6f9172a035fc28d585e6f5fbf5?branch=epel10.2
Log:
tests: use python 3, add makefile
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
---
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..c08d55f
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,6 @@
+.PHONY: check
+
+QCOW_IMG := atomic.qcow2
+
+check:
+ TEST_SUBJECTS=$(QCOW_IMG) ansible-playbook -t atomic -e ansible_python_interpreter=/usr/bin/python3 -i /usr/share/ansible/inventory/standard-inventory-qcow2 ./tests.yml
diff --git a/tests/integration.yml b/tests/integration.yml
index 6a47a35..96f2eaf 100644
--- a/tests/integration.yml
+++ b/tests/integration.yml
@@ -22,10 +22,10 @@
- classic
with_items:
- python-docker-tests
- - python2-pytest
+ - python3-pytest
- name: Install pytest and the test-suite on Atomic Host
- shell: rpm-ostree install python2-pytest python-docker-tests && rpm-ostree ex livefs
+ shell: rpm-ostree install python3-pytest python-docker-tests && rpm-ostree ex livefs
tags:
- atomic
@@ -41,7 +41,7 @@
block:
- name: Run integration test-suite on Atomic Host
# -k "test_create_with_restart_policy" for local testing
- shell: py.test -v ./tests/integration/ | tee {{ remote_artifacts }}/test.log
+ shell: py.test-3 -v ./tests/integration/ | tee {{ remote_artifacts }}/test.log
args:
chdir: /usr/libexec/installed-tests/python-docker/
always:
@@ -60,7 +60,7 @@
- name: Run integration test-suite locally
# -k "test_create_with_restart_policy" for local testing
- shell: py.test -v ./tests/integration/ | tee {{ artifacts_abs.stdout }}/test.log
+ shell: py.test-3 -v ./tests/integration/ | tee {{ artifacts_abs.stdout }}/test.log
args:
chdir: /usr/libexec/installed-tests/python-docker/
tags:
reply other threads:[~2026-10-13 18:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179191601989.1.8299028906190364071.rpms-python-docker-dce2760816a9@fedoraproject.org \
--to=ttomecek@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox