File tree Expand file tree Collapse file tree 5 files changed +21
-60
lines changed
Expand file tree Collapse file tree 5 files changed +21
-60
lines changed Original file line number Diff line number Diff line change 88 - uses : actions/checkout@v4
99 - uses : rickstaa/action-black@v1
1010 with :
11- black_args : " . --check"
11+ black_args : " . --check"
12+
13+ name : CI
14+ on :
15+ push :
16+ branches : [ main ]
17+ jobs :
18+ container-test-job :
19+ runs-on : debian:12-slim
20+ container :
21+ image : ghcr.io/builderdev212/cocotb-runner
22+ volumes :
23+ - ${PWD}:/usr/src/verilogbits
24+ steps :
25+ - name : Run testbenches
26+ run : cd verilogbits && pytest -n 10
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- CONTAINER_IMG := cocotb-dev
2- CONTAINER_FILE := Containerfile
3-
4- build ::
5- @podman build -f ${CONTAINER_FILE} -t ${CONTAINER_IMG} " ${PWD} "
6-
7- # publish::
8- # @podman login
9- # @podman push ${CONTAINER_IMG}:latest
1+ CONTAINER_IMG := ghcr.io/builderdev212/cocotb-runner
102
113run ::
124 @podman run -it --rm \
Original file line number Diff line number Diff line change 11# verilogbits
22My solutions and my own tests for problems from the HDLBits website.
33
4- ## Setting up a virtual environment
4+ ## Running tests
55``` bash
6- python3 -m venv .venv --prompt verilogbits
7- source .venv/bin/activate
8- pip3 install -r requirements.txt
6+ make run
7+ cd verilogbits
8+ pytest -n auto
99```
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments