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 <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-04-04 01:40:01 +10:00 committed by GitHub
parent 363dbc650a
commit 6a224da9ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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