mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-20 20:48:43 +00:00
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:
parent
363dbc650a
commit
6a224da9ee
1 changed files with 6 additions and 0 deletions
6
.github/workflows/release-build.yml
vendored
6
.github/workflows/release-build.yml
vendored
|
@ -58,6 +58,12 @@ jobs:
|
||||||
- if: runner.os != 'Windows'
|
- if: runner.os != 'Windows'
|
||||||
run: ls -shal packages/
|
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
|
- name: Ensure release binary is runnable
|
||||||
if: "matrix.r"
|
if: "matrix.r"
|
||||||
run: just e2e-tests
|
run: just e2e-tests
|
||||||
|
|
Loading…
Add table
Reference in a new issue