File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,22 +51,25 @@ jobs:
5151 - name : Run Registry Validation Tests
5252 env :
5353 REGISTRY_PATH : ${{ github.workspace }}/registry
54- DEVFILE_PATH : ${{ github.workspace }}/registry/tests /devfile.yaml
54+ DEVFILE_PATH : ${{ github.workspace }}/current-repo /devfile.yaml
5555 TEST_NAMESPACE : " default"
5656 YQ_PATH : " yq"
5757 ENV : " minikube"
5858 run : |
59- cd registry/tests
60-
59+ # cd registry/tests
60+
6161 echo "=== Schema Validation ==="
6262 # Run schema validation directly on the devfile
63- yq eval 'true' devfile.yaml > /dev/null || (echo "Invalid YAML in devfile" && exit 1)
63+ # yq eval 'true' devfile.yaml > /dev/null || (echo "Invalid YAML in devfile" && exit 1)
64+
6465
6566 echo "=== ODO v3 Validation ==="
67+ bash registry/tests/check_odov3.sh
68+
6669 # Use the updated script that accepts input files directly
67- bash check_odov3.sh --stacksPath $(pwd) --stackDirs "."
70+ # bash check_odov3.sh --stacksPath $(pwd)/current-repo/devfile.yaml --stackDirs "."
6871
6972 - name : Cleanup
7073 if : always()
7174 run : |
72- kubectl delete pods --all -n default --ignore-not-found=true || true
75+ kubectl delete pods --all -n default --ignore-not-found=true || true
You can’t perform that action at this time.
0 commit comments