rbenv-ruby-build/.github/workflows/ci.yml

20 lines
489 B
YAML
Raw Normal View History

2021-01-19 22:19:35 +01:00
name: Test
on: [push, pull_request]
jobs:
2021-01-19 22:19:35 +01:00
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: git clone --depth 1 https://github.com/sstephenson/bats.git
- run: PATH="./bats/bin:$PATH" script/test
env:
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}