From 8256ef62349350a4692fece52409a4dcdafb6475 Mon Sep 17 00:00:00 2001 From: fjebaker Date: Sat, 10 Aug 2024 20:15:05 +0100 Subject: [PATCH] ci: add automated test runner --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..bed8a2c --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Test + +on: + pull_request: + branches: + - main + - unicode + push: + branches: + - main + - ci + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup zig + uses: goto-bus-stop/setup-zig@v2 + with: + version: 0.13.0 + - name: Build and test + run: zig build test +