File: ci.yml

package info (click to toggle)
ruby-build 20260222-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,152 kB
  • sloc: sh: 1,929; ruby: 26; makefile: 19
file content (22 lines) | stat: -rw-r--r-- 474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Test

on: [push, pull_request]

permissions:
  contents: read

jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest]
    runs-on: ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v6
      with:
        fetch-depth: 0
    - name: Install bats
      run: git clone --depth 1 --branch v1.10.0 https://github.com/bats-core/bats-core.git bats
    - name: Run tests
      run: PATH="./bats/bin:$PATH" script/test