docs: add CI status and license badges to README #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: Tests | |
| on: | |
| push: | |
| branches: ["master"] | |
| pull_request: | |
| jobs: | |
| bats: | |
| name: Shell tests (bats) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install bats-core | |
| run: | | |
| sudo apt-get update -qq | |
| sudo apt-get install -y bats | |
| - name: Run install.sh tests | |
| run: bats tests/install.bats | |
| - name: Run run.sh tests | |
| run: bats tests/run.bats |