Skip to content

Commit

Permalink
Fi proto.* in test
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 6a86151 commit ff35ca2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ jobs:
source .venv/bin/activate
pip install -r requirements.txt
python rules2yml.py -d rules
cd rules
ls -l
cd schema
ls -l
- name: Check rule correctness with unittests
run: |
Expand Down
2 changes: 1 addition & 1 deletion tests/test_validation_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_parse_yaml(self):
def test_yaml_generation(self):
gen_yml_rules("unit_test_rules/")

num_proto_files = len(glob("open-simulation-interface/*.proto"))
num_proto_files = len(glob("open-simulation-interface/*.proto*"))
num_rule_files = len(glob("unit_test_rules/*.yml"))
num_rule_schema_files = len(glob("unit_test_rules/schema/*.yml"))
self.assertEqual(num_proto_files, num_rule_files)
Expand Down

0 comments on commit ff35ca2

Please sign in to comment.