We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b448476 commit 64d2db0Copy full SHA for 64d2db0
.github/workflows/cocotb_unit_test.yaml
@@ -0,0 +1,28 @@
1
+name: cocotb_unit_test
2
+on: [push, workflow_dispatch]
3
+jobs:
4
+ test:
5
+ runs-on: ubuntu-24.04
6
+ steps:
7
+ - name: Checkout repository
8
+ uses: actions/checkout@v4
9
+ with:
10
+ submodules: recursive
11
+
12
+ - name: Install iverilog
13
+ shell: bash
14
+ run: sudo apt-get update && sudo apt-get install -y iverilog
15
16
+ - name: Setup python
17
+ uses: actions/setup-python@v5
18
19
+ python-version: '3.10'
20
21
+ - name: Install cocotb
22
+ run: pip install cocotb
23
24
+ - name: Run cocotb test
25
+ run: |
26
+ cd ex01_and_gate/test
27
+ make
28
+ ! grep failure results.xml
0 commit comments