Skip to content

Commit 028c0a2

Browse files
committed
[patch] exclude openshift integration tests from standard CI run
Add \`-m \"not openshift\"\` to pytest invocation in python-package.yml to prevent OLM integration tests from running in environments without the IBM operator catalog installed. Tests in test_olm.py require a live OpenShift cluster with ibm-sls available in openshift-marketplace. The \`openshift\` marker was already defined in pyproject.toml but was not being applied during CI.
1 parent 4289142 commit 028c0a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/python-package.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
cat ${GITHUB_WORKSPACE}/src/mas/devops/__init__.py
4747
python -m pip install --upgrade pip
4848
pip install .[dev]
49-
python -m pytest
49+
python -m pytest -m "not openshift"
5050
5151
- name: Lint with flake8
5252
run: |

0 commit comments

Comments
 (0)