Skip to content

deploy: added test.yml #1

deploy: added test.yml

deploy: added test.yml #1

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
bats-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt-get install bats bats-assert bats-support -y
- name: Set BATS_LIB_PATH
run: |
export BATS_LIB_PATH=/usr/local/lib/bats:/usr/lib:/usr/lib/bats:~/.bats/libs
- name: Run Bats Test
run: |
bats test