@@ -2,15 +2,19 @@ name: Pull request checks
22
33on :
44 pull_request :
5- branches : [main]
5+ branches :
6+ - main
67
78jobs :
89 check-unique-standard-names :
10+ name : Check for duplicates in standard names
911 runs-on : ubuntu-latest
1012 steps :
11- - uses : actions/checkout@v4
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
1215
13- - uses : actions/setup-python@v4
16+ - name : Setup Python
17+ uses : actions/setup-python@v4
1418 with :
1519 python-version : " 3.x"
1620
2024 sudo apt-get -y install libxml2-utils
2125
2226 - name : Check for duplicate standard names
23- run : tools/check_xml_unique.py standard_names.xml
27+ run : |
28+ tools/check_xml_unique.py standard_names.xml
2429
2530 check-name-rules :
2631 name : Check standard names against rules
3035 - name : Checkout repository
3136 uses : actions/checkout@v4
3237
33- - uses : actions/setup-python@v4
38+ - name : Setup Python
39+ uses : actions/setup-python@v4
3440 with :
3541 python-version : " 3.x"
3642
@@ -44,11 +50,14 @@ jobs:
4450 python3 tools/check_name_rules.py -s standard_names.xml
4551
4652 test-rendering :
53+ name : Test rendering xml file to markdown and yaml
4754 runs-on : ubuntu-latest
4855 steps :
49- - uses : actions/checkout@v4
56+ - name : Checkout repository
57+ uses : actions/checkout@v4
5058
51- - uses : actions/setup-python@v4
59+ - name : Setup Python
60+ uses : actions/setup-python@v4
5261 with :
5362 python-version : " 3.x"
5463
@@ -59,13 +68,13 @@ jobs:
5968 python -m pip install --upgrade pip
6069 python -m pip install PyYaml
6170
62- - name : Test rendering xml file into markdown
71+ - name : Test rendering xml file to markdown
6372 run : |
6473 tools/write_standard_name_table.py --output-format md standard_names.xml
6574 echo "The following changes will be committed when this pull request is merged (git diff Metadata-standard-names.md):"
6675 git diff Metadata-standard-names.md
6776
68- - name : Test rendering xml file into yaml
77+ - name : Test rendering xml file to yaml
6978 run : |
7079 tools/write_standard_name_table.py --output-format yaml standard_names.xml
7180 echo "The following changes will be committed when this pull request is merged (git diff Metadata-standard-names.yaml):"
0 commit comments