File tree Expand file tree Collapse file tree 4 files changed +31
-27
lines changed
problems/getting-started/output-zero/tb Expand file tree Collapse file tree 4 files changed +31
-27
lines changed Original file line number Diff line number Diff line change 1+ name : python-black
2+ on : [push, pull_request]
3+ jobs :
4+ linter_name :
5+ name : runner / black formatter
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v4
9+ - uses : rickstaa/action-black@v1
10+ with :
11+ black_args : " . --check"
Original file line number Diff line number Diff line change 1+ name : cocotb
2+ on : [push, pull_request]
3+ jobs :
4+ cocotb-container :
5+ runs-on : ubuntu-latest
6+ steps :
7+ - name : Checkout code
8+ uses : actions/checkout@v4
9+ - name : Run pytest in container
10+ uses : addnab/docker-run-action@v3
11+ with :
12+ image : ghcr.io/builderdev212/cocotb-runner:latest
13+ options : -v ${{ github.workspace }}:/usr/src/verilogbits
14+ run : |
15+ . .venv/bin/activate && /bin/bash
16+ cd verilogbits
17+ pytest
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,4 +21,6 @@ def get_signals(self):
2121
2222 async def zero_check (self ):
2323 if int (self .zero .value ) != 0 :
24- raise DataError (f"Output should always be 0, got { self .zero .value } instead." )
24+ raise DataError (
25+ f"Output should always be 0, got { self .zero .value } instead."
26+ )
You can’t perform that action at this time.
0 commit comments