Debian Codegraph @

.github/workflows/ci.yml

raw
1 name: Test
2
3 on: [push, pull_request]
4
5 permissions:
6 contents: read
7
8 jobs:
9 test:
10 strategy:
11 fail-fast: false
12 matrix:
13 os: [ubuntu-latest, macos-latest]
14 runs-on: ${{ matrix.os }}
15 steps:
16 - uses: actions/checkout@v7
17 with:
18 fetch-depth: 0
19 - name: Install bats
20 run: git clone --depth 1 --branch v1.10.0 https://github.com/bats-core/bats-core.git bats
21 - name: Run tests
22 run: PATH="./bats/bin:$PATH" script/test