Merge pull request #32 from vancluever/add-example-to-readme #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Test | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Nix | |
uses: DeterminateSystems/nix-installer-action@v10 | |
- name: Setup Nix Cache | |
uses: DeterminateSystems/magic-nix-cache-action@v4 | |
- name: Run unit tests | |
run: nix develop --quiet --command zig build test --summary all | |
- name: Run spec tests | |
run: nix develop --quiet --command zig build spec --summary all |