From 09045b16cc0cf189aaaf0708d66757a4545478b7 Mon Sep 17 00:00:00 2001 From: Enrico Date: Mon, 21 Jul 2025 19:44:38 +1000 Subject: [PATCH 1/2] Add test workflow --- .github/workflows/test.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..053bbcd --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: Tests + +on: + push: + branches: [main, master] + pull_request: + branches: [main, master] + +jobs: + test: + name: Run Tests + runs-on: ubuntu-latest + container: + image: bats/bats:latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run tests + run: | + tests/run.sh From 5f106805c657cb45c04ab9a172a5346316eb7ff7 Mon Sep 17 00:00:00 2001 From: Enrico Date: Mon, 21 Jul 2025 19:55:14 +1000 Subject: [PATCH 2/2] Add missing home sub-directory to dummy test module --- tests/modules/dummy/home/.moduledir/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/modules/dummy/home/.moduledir/.gitkeep diff --git a/tests/modules/dummy/home/.moduledir/.gitkeep b/tests/modules/dummy/home/.moduledir/.gitkeep new file mode 100644 index 0000000..e69de29