3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-02-14 12:51:48 +00:00

.github: run unit tests in build jobs, not test jobs

This commit is contained in:
Emil J. Tywoniak 2026-02-11 00:55:36 +01:00
parent 9f30f0e7d6
commit dfbef2fe24
3 changed files with 3 additions and 11 deletions

View file

@ -71,7 +71,8 @@ jobs:
mkdir build
cd build
make -f ../Makefile config-$CC
make -f ../Makefile -j$procs ENABLE_LIBYOSYS=1
make -f ../Makefile -j$procs
make -f ../Makefile unit-test -j$procs
- name: Log yosys-config output
run: |
@ -219,7 +220,7 @@ jobs:
- name: Run tests
shell: bash
run: |
make -C docs test -j$procs
make -C docs vanilla-test -j$procs
test-docs-build:
name: Try build docs

View file

@ -73,7 +73,3 @@ jobs:
run: |
find tests/**/*.err -print -exec cat {} \;
- name: Run unit tests
shell: bash
run: |
make -j$procs unit-test

View file

@ -80,11 +80,6 @@ jobs:
run: |
make -C sby run_ci
- name: Run unit tests
shell: bash
run: |
make -j$procs unit-test ENABLE_LTO=1
test-pyosys:
needs: pre-job
if: ${{ needs.pre-job.outputs.should_skip != 'true' && github.repository == 'YosysHQ/Yosys' }}