26 lines
420 B
YAML
26 lines
420 B
YAML
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
|
|
echo "::add-path::bash_shell_mock/bin"
|
|
|
|
- name: Where is shellmock?
|
|
run: which shellmock
|
|
|
|
- name: Install BATS
|
|
run: yarn install
|
|
|
|
- name: Run Tests
|
|
run: yarn test
|
|
|