Skip to content
Merged
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
11 changes: 11 additions & 0 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: python-black
on: [push, pull_request]
jobs:
linter_name:
name: runner / black formatter
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: rickstaa/action-black@v1
with:
black_args: ". --check"
17 changes: 17 additions & 0 deletions .github/workflows/cocotb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: cocotb
on: [push, pull_request]
jobs:
cocotb-container:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run pytest in container
uses: addnab/docker-run-action@v3
with:
image: ghcr.io/builderdev212/cocotb-runner:latest
options: -v ${{ github.workspace }}:/usr/src/verilogbits
run: |
. .venv/bin/activate && /bin/bash
cd verilogbits
pytest
26 changes: 0 additions & 26 deletions .github/workflows/main.yml

This file was deleted.

4 changes: 3 additions & 1 deletion problems/getting-started/output-zero/tb/constant_zero.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ def get_signals(self):

async def zero_check(self):
if int(self.zero.value) != 0:
raise DataError(f"Output should always be 0, got {self.zero.value} instead.")
raise DataError(
f"Output should always be 0, got {self.zero.value} instead."
)