mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-25 06:42:50 +00:00
Add CI via Actions
This commit is contained in:
parent
0c3967aa32
commit
a574a74042
1 changed files with 19 additions and 0 deletions
19
.github/workflows/ci.yml
vendored
Normal file
19
.github/workflows/ci.yml
vendored
Normal file
|
@ -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
|
Loading…
Reference in a new issue