Skip to content

Commit

Permalink
Add CI via Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Oct 23, 2019
1 parent 0c3967a commit a574a74
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,19 @@
name: CI
on: [push]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
native_ext: ['', '1']
os: [ubuntu-latest, macOS-latest]

steps:
- uses: actions/checkout@v1
- name: Install bats
run: git clone --depth 1 https://github.com/sstephenson/bats.git
- name: Run tests
env:
RBENV_NATIVE_EXT: ${{ matrix.native_ext }}
run: PATH="./bats/bin:$PATH" test/run

0 comments on commit a574a74

Please sign in to comment.