-
Notifications
You must be signed in to change notification settings - Fork 12
45 lines (39 loc) · 1.03 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Testbench CI
on:
# Runs on all PRs
pull_request:
# Manual Dispatch
workflow_dispatch:
jobs:
switchboard_ci:
name: "Switchboard CI"
runs-on: ubuntu-latest
container:
image: ghcr.io/zeroasiccorp/sbtest:latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: pytest
run: |
python3 -m venv venv
. venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -e .[test]
pytest -m "switchboard" -n auto
python_ci:
name: "Python + Tools CI"
runs-on: ubuntu-latest
container:
image: ghcr.io/siliconcompiler/sc_tools:latest
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: pytest
run: |
python3 -m venv venv
. venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install -e .[test]
pytest -m "not switchboard" -n auto