Skip to content

Add tests and CI/CD action to run them #10

Add tests and CI/CD action to run them

Add tests and CI/CD action to run them #10

Workflow file for this run

name: test suite
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install bats
run: |
sudo apt-get install -y bats
- name: Setup path
run: |
# script under test is in repo root directory
echo "$GITHUB_WORKSPACE" >> "$GITHUB_PATH"
- name: Run tests
run: |
./tests.bats