Skip to content

Commit 0899405

Browse files
committed
Added cocotb and cocotb-bus CI hack
1 parent 08d5408 commit 0899405

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ jobs:
4040
pip install --upgrade pip
4141
pip install .[dev]
4242
43+
# Temporary CI work around (Remove once cocotb and cocotb-bus get a version bump)
44+
pip uninstall -y cocotb
45+
pip install git+https://github.com/cocotb/cocotb.git@770d72214362cb366097267873839f50c69e417e
46+
47+
pip uninstall -y cocotb-bus
48+
pip install git+https://github.com/cocotb/cocotb-bus.git@c53c6024391fa02263969b02a0e0de5a22974cfc
49+
4350
# change running directory
4451
mkdir testrun
4552
cd testrun
@@ -91,4 +98,11 @@ jobs:
9198
pip install --upgrade pip
9299
pip install -e .[dev]
93100
101+
# Temporary CI work around (Remove once cocotb and cocotb-bus get a version bump)
102+
pip uninstall -y cocotb
103+
pip install git+https://github.com/cocotb/cocotb.git@770d72214362cb366097267873839f50c69e417e
104+
105+
pip uninstall -y cocotb-bus
106+
pip install git+https://github.com/cocotb/cocotb-bus.git@c53c6024391fa02263969b02a0e0de5a22974cfc
107+
94108
pytest -n logical -m "eda" --verbose

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ dev = [
3333
"pytest == 8.4.2",
3434
"pytest-xdist==3.8.0",
3535
"pytest-timeout == 2.4.0",
36-
"cocotb @ git+https://github.com/cocotb/cocotb.git@770d72214362cb366097267873839f50c69e417e",
37-
"cocotb-bus @ git+https://github.com/cocotb/cocotb-bus.git@c53c6024391fa02263969b02a0e0de5a22974cfc"
36+
"cocotb == 1.9.2",
37+
"cocotb-bus == 0.2.1"
3838
]
3939

4040
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)