Skip to content

Commit ff35ca2

Browse files
Fi proto.* in test
Signed-off-by: ClemensLinnhoff <[email protected]>
1 parent 6a86151 commit ff35ca2

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Diff for: .github/workflows/ci.yml

-4
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ jobs:
6868
source .venv/bin/activate
6969
pip install -r requirements.txt
7070
python rules2yml.py -d rules
71-
cd rules
72-
ls -l
73-
cd schema
74-
ls -l
7571
7672
- name: Check rule correctness with unittests
7773
run: |

Diff for: tests/test_validation_rules.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def test_parse_yaml(self):
6666
def test_yaml_generation(self):
6767
gen_yml_rules("unit_test_rules/")
6868

69-
num_proto_files = len(glob("open-simulation-interface/*.proto"))
69+
num_proto_files = len(glob("open-simulation-interface/*.proto*"))
7070
num_rule_files = len(glob("unit_test_rules/*.yml"))
7171
num_rule_schema_files = len(glob("unit_test_rules/schema/*.yml"))
7272
self.assertEqual(num_proto_files, num_rule_files)

0 commit comments

Comments
 (0)