From 5f9c5b77020ee04e0e833d408524d7f984e8f575 Mon Sep 17 00:00:00 2001 From: Rene Schallner Date: Sat, 24 Feb 2024 16:40:24 +0100 Subject: [PATCH] re-enable zig master check CI workflow --- .github/workflows/mastercheck.yml | 32 +++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/.github/workflows/mastercheck.yml b/.github/workflows/mastercheck.yml index 7ab6870..16638b3 100644 --- a/.github/workflows/mastercheck.yml +++ b/.github/workflows/mastercheck.yml @@ -1,21 +1,20 @@ name: Works with Zig master on: - # push: - # branches: - # - master - # pull_request: - # branches: - # - master - # schedule: - # - cron: "0 0 * * *" + push: + branches: + - zig-0.12.0 + pull_request: + branches: + - zig-0.12.0 + schedule: + - cron: "0 0 * * *" workflow_dispatch: jobs: ci: strategy: matrix: - # platform: [ubuntu-latest, windows-latest, macos-latest] - platform: [ubuntu-latest] + platform: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v3 @@ -26,5 +25,14 @@ jobs: run: zig version - name: Build all examples run: zig build all - - name: Run all tests - run: zig build test + # Run tests separately so we can see more clearly which one fails + - name: Run mustache tests + run: zig build test-mustache + - name: Run httpparams tests + run: zig build test-httpparams + - name: Run sendfile tests + run: zig build test-sendfile + - name: Run authentication tests + run: zig build test-authentication + - name: Report end of tests + run: echo "tests finished"