Skip to content

Add Basic CI checks

Add Basic CI checks #8

Workflow file for this run

name: "Run Tests"
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-22.04
name: Run Tests
steps:
- name: Clone wake-extras
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Download wake
run: wget https://github.com/sifive/wake/releases/download/v39.1.0/ubuntu-22-04-wake_39.1.0-1_amd64.deb
- name: Install wake
run: sudo apt-get install ./ubuntu-22-04-wake_39.1.0-1_amd64.deb
- name: Initialize wake
run: wake --init .
- name: Check formatting
run: wake-format --dry-run --auto
- name: Run basic test
run: wake --in query -x 'single 5'