Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Nightly Regression
on:
schedule:
- cron: "0 8 * * *"
workflow_dispatch:
inputs:
scaler:
description: "RAND_TEST_LEN_SCALER (random test length multiplier)"
type: number
default: 10

env:
RAND_TEST_LEN_SCALER: ${{ github.event.inputs.scaler || 10 }}

jobs:
cocotb_nightly:
name: "Cocotb Nightly Regression"
# Don't run on forks
if: github.repository == 'zeroasiccorp/umi'
runs-on: ubuntu-latest
container:
image: ghcr.io/siliconcompiler/sc_runner:latest
timeout-minutes: 180

steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: pytest
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
python3 -m venv venv
. venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -e .[test]
pytest -m "cocotb" --verbose --durations=0

switchboard_nightly:
name: "Switchboard Nightly Regression"
# Don't run on forks
if: github.repository == 'zeroasiccorp/umi'
runs-on: ubuntu-latest
container:
image: ghcr.io/zeroasiccorp/sbtest:latest
timeout-minutes: 90

steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: pytest
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
python3 -m venv venv
. venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -e .[test]
pytest -m "switchboard" --verbose --durations=0
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Universal Memory Interface (UMI)

[![Nightly Regression](https://github.com/zeroasiccorp/umi/actions/workflows/nightly.yml/badge.svg?event=schedule)](https://github.com/zeroasiccorp/umi/actions/workflows/nightly.yml)

## 1. Introduction

### 1.1 Design Philosophy
Expand Down