Skip to content

Commit 721d399

Browse files
chore(tests): add unit testing to github actions
1 parent 83444b0 commit 721d399

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Diff for: .github/workflows/ci.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: 'Automated tests'
2+
3+
on:
4+
[pull_request, push]
5+
6+
jobs:
7+
tests:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Install bats
12+
run: |
13+
git clone https://github.com/bats-core/bats-core.git $HOME/bats-core
14+
sudo $HOME/bats-core/install.sh /usr/local
15+
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Unit tests on Validator
20+
run: bats ./validator.bats

0 commit comments

Comments
 (0)