Skip to content

Commit 7734a5d

Browse files
ci: run tests in release mode
1 parent b10bc7a commit 7734a5d

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ jobs:
6767
- name: Check clippy
6868
shell: bash
6969
run: |
70-
cargo clippy --all-targets --all-features -- \
70+
cargo clippy --release --all-targets --all-features -- \
7171
-D clippy::suspicious -D clippy::style -D clippy::complexity \
7272
-D clippy::perf -D clippy::dbg_macro -D clippy::todo \
7373
-D clippy::unimplemented -D warnings
7474
7575
- name: Test
7676
if: always() && (matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-gnu') || (matrix.os == 'windows-latest' && matrix.target == 'x86_64-pc-windows-msvc') || (matrix.os == 'macos-latest' && matrix.target == 'x86_64-apple-darwin')
77-
run: cargo test --target ${{ matrix.target }}
77+
run: cargo test --release --target ${{ matrix.target }}

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ jobs:
7171
- name: Check clippy
7272
shell: bash
7373
run: |
74-
cargo clippy --all-targets --all-features -- \
74+
cargo clippy --release --all-targets --all-features -- \
7575
-D clippy::suspicious -D clippy::style -D clippy::complexity \
7676
-D clippy::perf -D clippy::dbg_macro -D clippy::todo \
7777
-D clippy::unimplemented -D warnings
7878
7979
- name: Test
8080
if: always() && (matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-gnu') || (matrix.os == 'windows-latest' && matrix.target == 'x86_64-pc-windows-msvc') || (matrix.os == 'macos-latest' && matrix.target == 'x86_64-apple-darwin')
81-
run: cargo test --target ${{ matrix.target }}
81+
run: cargo test --release --target ${{ matrix.target }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ jobs:
7474

7575
- name: Check clippy
7676
run: |
77-
cargo clippy --all-targets --all-features -- \
77+
cargo clippy --release --all-targets --all-features -- \
7878
-D clippy::suspicious -D clippy::style -D clippy::complexity \
7979
-D clippy::perf -D clippy::dbg_macro -D clippy::todo \
8080
-D clippy::unimplemented -D warnings
8181
continue-on-error: true
8282

8383
- name: Test
8484
if: (matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-gnu') || (matrix.os == 'windows-latest' && matrix.target == 'x86_64-pc-windows-msvc') || (matrix.os == 'macos-latest' && matrix.target == 'x86_64-apple-darwin')
85-
run: cargo test --target ${{ matrix.target }}
85+
run: cargo test --release --target ${{ matrix.target }}
8686

8787
- name: Rename Binary
8888
shell: bash

0 commit comments

Comments
 (0)