Checking the YAML files (created by wreints) #117
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CHECKYAML | |
run-name: "Checking the YAML files (created by ${{ github.actor }})" | |
on: [push] | |
jobs: | |
check-yaml: | |
runs-on: ubuntu-latest | |
steps: | |
- run: echo "Automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "branch = ${{ github.ref }}; repository = ${{ github.repository }}" | |
- run: echo "workspace = ${{ github.workspace }}" | |
- name: Check out repository code (necessary - otherwise the workspace is empty) | |
uses: actions/checkout@v4 | |
- name: list YAML files | |
run: ls ${{ github.workspace }}/niveau*/** | |
- name: running python script | |
run: | | |
pip install tqdm | |
pip install networkx | |
python ${{ github.workspace }}/scripts/check_yaml.py |