From 6a224da9ee6e23325185aeacfa375c9e293741c1 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Tue, 4 Apr 2023 01:40:01 +1000 Subject: [PATCH] Run unit tests in `release-build.yml` (#977) Since release build enables a lot of optimization, disable debug assert and possibly change the code to be run, it's better to run the tests again. Signed-off-by: Jiahao XU --- .github/workflows/release-build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 0455d84d..efecdc8e 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -58,6 +58,12 @@ jobs: - if: runner.os != 'Windows' run: ls -shal packages/ + - name: Run unit tests in release build + if: "matrix.r" + run: just unit-tests + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Ensure release binary is runnable if: "matrix.r" run: just e2e-tests