Skip to content

Commit 176e29d

Browse files
committed
Refactor dependency installation in GitHub Actions workflow
1 parent 831069d commit 176e29d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ jobs:
1212
- name: Setup Python
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: '3.11'
15+
python-version: '3.8'
1616

1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip
20-
pip install pillow numpy pathlib scikit-image argparse vunit_hdl
20+
pip install pillow numpy pathlib scikit-image argparse
21+
pip install vunit_hdl --pre
2122
2223
- uses: ghdl/setup-ghdl@v1
2324
with:

scripts/run.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def generate_tests(obj):
102102

103103

104104
VU = VUnit.from_argv()
105+
VU.add_vhdl_builtins()
105106
LIB = VU.add_library("lib")
106107
LIB.add_source_files(Path(__file__).parent / ".." / "sim" / "edgedetect_tb.vhd")
107108
LIB.add_source_files(Path(__file__).parent / ".." / "src" / "rgb2gray.vhd")

0 commit comments

Comments
 (0)