Skip to content

Commit 9fbbe1e

Browse files
author
Lucas Yoon
committed
testing8
1 parent 5ab341d commit 9fbbe1e

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/validate-with-registry.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,21 @@ jobs:
6363
YQ_PATH: "yq"
6464
ENV: "minikube"
6565
run: |
66+
echo "=== Current Working Directory ==="
67+
pwd
68+
echo "=== Registry Directory Contents ==="
69+
ls -la registry/
70+
echo "=== Registry Tests Directory ==="
71+
ls -la registry/tests/ || echo "Registry tests directory not found"
6672
6773
echo "=== Schema Validation ==="
68-
# Use the registry's validate_devfile_schemas.sh script
69-
bash registry/tests/validate_devfile_schemas.sh --stacksPath ${{ github.workspace }}/current-repo --stackDirs "."
74+
# Change to registry directory and run the validation script from there
75+
cd registry
76+
bash tests/validate_devfile_schemas.sh --stacksPath ${{ github.workspace }}/current-repo --stackDirs "."
7077
7178
echo "=== ODO v3 Validation ==="
72-
# Use the registry's check_odov3.sh script
73-
bash registry/tests/check_odov3.sh --stacksPath ${{ github.workspace }}/current-repo --stackDirs "."
79+
# Run check_odov3.sh from registry directory
80+
bash tests/check_odov3.sh --stacksPath ${{ github.workspace }}/current-repo --stackDirs "."
7481
7582
- name: Cleanup
7683
if: always()

0 commit comments

Comments
 (0)