Skip to content

Commit c93a358

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

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/tests.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
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)