pyenv/.github/workflows/ci.yml

20 lines
452 B
YAML
Raw Normal View History

2019-10-23 18:18:28 -04:00
name: CI
2020-02-17 14:54:23 -05:00
on: [push, pull_request]
2019-10-23 18:18:28 -04:00
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
native_ext: ['', '1']
os: [ubuntu-latest, macOS-latest]
steps:
2020-02-17 14:54:44 -05:00
- uses: actions/checkout@v2
2019-10-23 18:18:28 -04:00
- 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