Skip to content

Commit

Permalink
Fix considering proto.in
Browse files Browse the repository at this point in the history
Signed-off-by: ClemensLinnhoff <[email protected]>
  • Loading branch information
ClemensLinnhoff committed May 16, 2024
1 parent cbf393f commit 6a86151
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,11 @@ jobs:
source .venv/bin/activate
python -m pip install --upgrade pip
pip install -r requirements_develop.txt
pip install -r requirements.txt
pip install .
- name: Generate parsed rules
run: |
source .venv/bin/activate
pip install -r requirements.txt
python rules2yml.py -d rules
cd rules
ls -l
Expand All @@ -82,5 +81,6 @@ jobs:
- name: Run osi-validator
run: |
source .venv/bin/activate
pip install .
osivalidator --data data/20240221T141700Z_sv_300_2112_10_one_moving_object.osi -r rules
osivalidator --data data/20240221T141700Z_sv_300_2112_10_one_moving_object.osi -r rules --parallel
2 changes: 1 addition & 1 deletion rules2yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def gen_yml_rules(dir_name="rules", full_osi=False):
if not os.path.exists(dir_name + "/schema"):
os.makedirs(dir_name + "/schema")

for file in glob("open-simulation-interface/*.proto"):
for file in glob("open-simulation-interface/*.proto*"):
filename = file.split("open-simulation-interface/")[1].split(".proto")[0]

if os.path.exists(f"{dir_name}/{filename}.yml"):
Expand Down

0 comments on commit 6a86151

Please sign in to comment.