Skip to content

Commit e5fb933

Browse files
authored
fix dependency for validate published rules (#1765)
* fix dependency for validate published rules * maybe a dot will help * try again * put dot back * activate? * -e * same line? * this should work... * ./ * use cd instead
1 parent 4a2dbb0 commit e5fb933

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/validate-published-rules.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ jobs:
8383
run: |
8484
python -m venv venv
8585
venv/bin/pip install --upgrade pip
86-
venv/bin/pip install . --group dev
86+
cd engine
87+
../venv/bin/pip install . --group dev
88+
cd ..
8789
# -----------------------------------------------------------------------
8890
# 5. Run validation for every Published rule
8991
# -----------------------------------------------------------------------
@@ -98,7 +100,7 @@ jobs:
98100
CORE_IDS_ARG="--core-ids ${{ inputs.core_ids }}"
99101
fi
100102
101-
./venv/bin/python engine/scripts/validate_published_rules.py \
103+
venv/bin/python engine/scripts/validate_published_rules.py \
102104
--rules-root "$(pwd)/open-rules" \
103105
--engine-dir "$(pwd)/engine" \
104106
--python-cmd "$(pwd)/venv/bin/python" \

0 commit comments

Comments
 (0)