Skip to content

Setup test suite with a git folder and its main features (#32) #1

Setup test suite with a git folder and its main features (#32)

Setup test suite with a git folder and its main features (#32) #1

Workflow file for this run

name: Bats Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Git
run: |
sudo apt-get update
sudo apt-get install -y git
- name: Install Bats
run: |
git clone --depth=1 https://github.com/bats-core/bats-core.git /usr/local/bats
/usr/local/bats/install.sh /usr/local
- name: Run Bats tests
run: |
bats tests.bats