Add Workflow
This commit is contained in:
parent
c8fa16faf1
commit
b513e5d6f4
|
@ -0,0 +1,23 @@
|
||||||
|
name: tests
|
||||||
|
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install Shell Mock
|
||||||
|
run: |
|
||||||
|
git clone https://github.com/capitalone/bash_shell_mock
|
||||||
|
cd bash_shell_mock
|
||||||
|
./install.sh /usr/local
|
||||||
|
|
||||||
|
- name: Install BATS
|
||||||
|
run: yarn install
|
||||||
|
|
||||||
|
- name: Run Tests
|
||||||
|
run: yarn test
|
||||||
|
|
Loading…
Reference in New Issue