Skip to content

dependency_chain: multiple access test #325

dependency_chain: multiple access test

dependency_chain: multiple access test #325

Workflow file for this run

# This job checks incomming changes by building example code and
# running unit tests
name: test
on:
push:
branches:
- main
paths-ignore:
- '*.md'
- '.vscode/**'
pull_request:
paths-ignore:
- '*.md'
- '.vscode/**'
permissions:
contents: read
jobs:
unit_test:
name: Zig unit tests
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Download zig
run: wget https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
- name: Install zig
run: tar -xf zig-linux-x86_64-0.13.0.tar.xz && mv zig-linux-x86_64-0.13.0/* ./
# build examples to test for compile issues
- name: Build examples
run: ./zig build
- name: Run tests
run: ./zig build test