9e4e2e76fa
* Add bats * Write commits tests * Add Workflow * Add .gitignore * Update Test Suite * Disable test * Disable failing test for now
31 lines
492 B
YAML
31 lines
492 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
|
|
cd bash_shell_mock
|
|
sudo ./install.sh /usr/local
|
|
|
|
- name: Where is shellmock?
|
|
run: which shellmock
|
|
|
|
- name: GitHub Detection
|
|
run: |
|
|
pwd
|
|
|
|
- name: Install BATS
|
|
run: yarn install
|
|
|
|
- name: Run Tests
|
|
run: yarn test
|
|
|