diff --git a/.github/workflows/compatibility.yml b/.github/workflows/compatibility.yml index 05a5573..b758d30 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -65,7 +65,8 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install --editable 'libs/tekton-dag-common[test]' --editable 'libs/baggage-python[test]' - python -m pytest libs/baggage-python/tests libs/tekton-dag-common/tests -q --tb=short + (cd libs/baggage-python && python -m pytest tests -q --tb=short) + (cd libs/tekton-dag-common && python -m pytest tests -q --tb=short) node: name: Node ${{ matrix.node }} diff --git a/libs/tekton-dag-common/tests/test_m17_compatibility.py b/libs/tekton-dag-common/tests/test_m17_compatibility.py index ac9208f..f13a8ae 100644 --- a/libs/tekton-dag-common/tests/test_m17_compatibility.py +++ b/libs/tekton-dag-common/tests/test_m17_compatibility.py @@ -17,6 +17,8 @@ def test_compatibility_workflow_covers_documented_runtimes(): assert 'java: ["21"]' in workflow assert 'php: ["8.3"]' in workflow assert "bash scripts/check-support-matrix.sh" in workflow + assert "(cd libs/baggage-python && python -m pytest tests" in workflow + assert "(cd libs/tekton-dag-common && python -m pytest tests" in workflow assert 'workflow: ".github/workflows/compatibility.yml"' in matrix