Skip to content

Commit

Permalink
👷 Add bats tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jemrobinson committed May 20, 2024
1 parent 272b665 commit eb76357
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test_code.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Test code

# Run workflow on PRs and pushes to matching branches
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:

jobs:
test_bash:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install bats
run: apt install bats
- name: Run tests
run: bats tests

0 comments on commit eb76357

Please sign in to comment.