From 4fa9989d79b198a3743abd7f286d50c60789df3c Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 11 Apr 2024 10:51:13 +0200 Subject: [PATCH] For cronjob run regular tests --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ed9391..5503afa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,16 +73,23 @@ jobs: make -C sby install DESTDIR=${GITHUB_WORKSPACE}/.local PREFIX= - name: EQY Coverage + if: (github.event_name != 'schedule') run: | sed -i 's,clang,g,g' ${GITHUB_WORKSPACE}/.local/bin/yosys-config sed -i 's,--gcov-tool $$PWD/llvm-gcov.sh,,g' Makefile sed -i "s,--no-external,--no-external --exclude '*/.local/share/*',g" Makefile - make clean make COVERAGE=1 make coverage lcov_cobertura coverage.info --excludes .local.share --demangle + - name: EQY Tests + if: (github.event_name == 'schedule') + run: | + make + make test EQY="python3 $(pwd)/src/eqy.py" + - name: Report + if: (github.event_name != 'schedule') uses: 5monkeys/cobertura-action@master with: path: coverage.xml