Skip to content

Commit 797d762

Browse files
committed
Test with submodules.
1 parent 0dcc8fc commit 797d762

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/main.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ jobs:
5353
uses: actions/setup-python@v3
5454
with:
5555
python-version: ${{ matrix.python-version }}
56-
57-
56+
- name: VectorCGRA Git Sumbodule Update
57+
run: |
58+
cd VectorCGRA
59+
git submodule update --init
5860
- name: Install Verilator for VectorCGRA
5961
run: |
6062
wget https://github.com/tancheng/pymtl-verilator/raw/master/verilator-travis-4.036.tar.gz
@@ -81,12 +83,9 @@ jobs:
8183
pip install hypothesis
8284
pip install pytest
8385
pip list
84-
- name: VectorCGRA Git Sumbodule Update
85-
run: |
86-
cd VectorCGRA
87-
git submodule update --init
8886
- name: Test with pytest for VectorCGRA
8987
run: |
88+
cd VectorCGRA
9089
mkdir -p build && cd build
9190
source ${HOME}/venv/bin/activate
9291
pytest .. -v --tb=short

0 commit comments

Comments
 (0)