Merge pull request #120 from PierreGode/PierreGode-patch-5 #2
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: ADconnection.sh Test Pipeline | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| test-adconnection: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Install shellcheck | |
| run: sudo apt-get update && sudo apt-get install -y shellcheck | |
| - name: Shellcheck lint ADconnection.sh | |
| run: shellcheck ./ADconnection.sh | |
| - name: Bash syntax check ADconnection.sh | |
| run: bash -n ./ADconnection.sh | |
| - name: Run ADconnection.sh --help | |
| run: bash ./ADconnection.sh --help |