Skip to content

Commit

Permalink
chore(tests): add unit testing to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-boulle committed Sep 1, 2020
1 parent 83444b0 commit 721d399
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Automated tests'

on:
[pull_request, push]

jobs:
tests:
runs-on: ubuntu-latest

steps:
- name: Install bats
run: |
git clone https://github.com/bats-core/bats-core.git $HOME/bats-core
sudo $HOME/bats-core/install.sh /usr/local
- name: Checkout
uses: actions/checkout@v2

- name: Unit tests on Validator
run: bats ./validator.bats

0 comments on commit 721d399

Please sign in to comment.