Browse Source

Use RHEL-9.4.0-Nightly compose.

Use TMT plan that contains support for Python-3.12 and
also installs container-ci-suite for testing this example repository.

Replace target in Makefile from test-openshift-4 to test-openshift-pytest

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
pull/217/head
Petr "Stone" Hracek 1 year ago
parent
commit
3021bb6f2d
2 changed files with 7 additions and 7 deletions
  1. +4
    -4
      .github/workflows/openshift-tests.yml
  2. +3
    -3
      Makefile

+ 4
- 4
.github/workflows/openshift-tests.yml View File

@ -20,11 +20,11 @@ jobs:
- uses: sclorg/testing-farm-as-github-action@main - uses: sclorg/testing-farm-as-github-action@main
with: with:
api_key: ${{ secrets.TF_INTERNAL_API_KEY }} api_key: ${{ secrets.TF_INTERNAL_API_KEY }}
compose: "RHEL-8.8.0-Nightly"
compose: "RHEL-9.4.0-Nightly"
git_url: "https://gitlab.cee.redhat.com/platform-eng-core-services/sclorg-tmt-plans" git_url: "https://gitlab.cee.redhat.com/platform-eng-core-services/sclorg-tmt-plans"
git_ref: "master" git_ref: "master"
tf_scope: "private" tf_scope: "private"
tmt_plan_regex: "rhel8-openshift-4"
tmt_plan_regex: "rhel9-openshift-pytest"
update_pull_request_status: true update_pull_request_status: true
pull_request_status_name: "RHEL8-OpenShift-4 - imagestream test ${{ matrix.version }}"
variables: "REPO_URL=${{ github.server_url }}/${{ github.repository }};REPO_NAME=${{ github.repository }};PR_NUMBER=${{ github.event.issue.number }};OS=rhel8;SINGLE_VERSION=${{ matrix.version }};TEST_NAME=test-openshift-4"
pull_request_status_name: "RHEL9-OpenShift-4 - imagestream test ${{ matrix.version }}"
variables: "REPO_URL=${{ github.server_url }}/${{ github.repository }};REPO_NAME=${{ github.repository }};PR_NUMBER=${{ github.event.issue.number }};OS=rhel9;SINGLE_VERSION=${{ matrix.version }};TEST_NAME=test-openshift-pytest"

+ 3
- 3
Makefile View File

@ -1,3 +1,3 @@
.PHONY: test-openshift-4
test-openshift-4:
cd tests && PYTHONPATH=$(CURDIR) python3 -m pytest --verbose --color=yes --showlocals .
.PHONY: test-openshift-pytest
test-openshift-pytest:
cd tests && PYTHONPATH=$(CURDIR) python3.12 -m pytest -s -rA --showlocals -vv test_django*.py

Loading…
Cancel
Save