Archive completed plan: documentation-info-architecture #22
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: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| shellcheck: | |
| name: ShellCheck | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Syntax check | |
| run: bash -n install.sh .agents/scripts/sync.sh | |
| - name: ShellCheck | |
| uses: ludeeus/action-shellcheck@2.0.0 | |
| with: | |
| scandir: '.' | |
| severity: warning | |
| additional_files: 'install.sh .agents/scripts/sync.sh' | |
| bats: | |
| name: BATS Tests | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Install BATS (Ubuntu) | |
| if: runner.os == 'Linux' | |
| run: sudo apt-get update && sudo apt-get install -y bats | |
| - name: Install BATS (macOS) | |
| if: runner.os == 'macOS' | |
| run: brew install bats-core | |
| - name: Run tests | |
| run: bats test/ |