Update SystemTester.bat #20
This file contains hidden or 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: Batch File Check | |
| on: | |
| push: | |
| paths: | |
| - '**.bat' | |
| pull_request: | |
| paths: | |
| - '**.bat' | |
| jobs: | |
| check-batch: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Validate batch files | |
| run: | | |
| for %%f in (*.bat) do ( | |
| echo Validating %%f | |
| cmd /c "call %%f" || echo %%f failed to run | |
| ) | |
| shell: cmd |