Skip to content

Commit

Permalink
ci: add GitHub action for running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
natecraddock authored Dec 9, 2022
1 parent 657120d commit 41eaa55
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: tests

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Clone zf
uses: actions/checkout@v3

- name: Setup Zig
uses: goto-bus-stop/setup-zig@v1
with:
version: 0.10.0

- name: Run tests
run: zig build test

0 comments on commit 41eaa55

Please sign in to comment.