make it friendly for contributors #98
Workflow file for this run
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| shellcheck: | |
| name: shellcheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone Repo | |
| uses: actions/checkout@v4 | |
| - name: Run Shellcheck | |
| uses: ludeeus/action-shellcheck@2.0.0 | |
| test-ubuntu: | |
| name: test (ubuntu) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone Repo | |
| uses: actions/checkout@v4 | |
| - name: Setup Bats and bats libs | |
| id: setup-bats | |
| uses: bats-core/bats-action@3.0.0 | |
| - name: Run Unit Tests | |
| run: make unit-test | |
| shell: bash | |
| - name: Run Integration Tests | |
| run: make intg-test | |
| shell: bash | |
| test-macos: | |
| name: test (macos) | |
| runs-on: macos-latest | |
| steps: | |
| - name: Clone Repo | |
| uses: actions/checkout@v4 | |
| - name: Install bats-core | |
| run: brew install bats-core | |
| - name: Run Unit Tests | |
| run: make unit-test | |
| shell: bash | |
| - name: Run Integration Tests | |
| run: make intg-test | |
| shell: bash | |
| # intg-test: | |
| # name: intg-test | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - name: Clone Repo | |
| # uses: actions/checkout@v4 | |
| # - name: Run Integration Tests in Docker | |
| # run: make docker-test | |
| # shell: bash |