Skip to content

Archive completed plan: documentation-info-architecture #22

Archive completed plan: documentation-info-architecture

Archive completed plan: documentation-info-architecture #22

Workflow file for this run

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/