Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(tests): add bats execution test
  • Loading branch information
Airscript committed Aug 13, 2022
commit 610e5ede1e3d4ac6e354a2a32616e9b7a2e9d115
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ build: git-submodules
run:
docker compose up -d

.PHONY: test
test:
./tests/bats/bin/bats ./tests/*

.PHONY: install-bash
install-bash:
sh ./scripts/install/bash.sh
Expand Down
2 changes: 2 additions & 0 deletions scripts/bats.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
echo "Bats is working correctly."
3 changes: 3 additions & 0 deletions tests/scripts.bats
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@test "Can run scripts" {
./scripts/bats.sh
}