Skip to content

Commit

Permalink
πŸ’š reenable test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelStark committed Oct 20, 2023
1 parent 7970ac9 commit 989f2c4
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docs
name: Test

on:
push:
Expand All @@ -17,5 +17,31 @@ jobs:
with:
zig-version: master

- name: Generate docs
run: zig test -femit-docs=./docs src/lib.zig
- name: Build
run: zig build

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Zig
uses: korandoru/setup-zig@v1
with:
zig-version: master

- name: Lint
run: zig fmt --check src/*.zig

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Zig
uses: korandoru/setup-zig@v1
with:
zig-version: master

- name: Test
run: zig build test --summary all

0 comments on commit 989f2c4

Please sign in to comment.