Skip to content

Commit

Permalink
ci: run tests in release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
adalinesimonian committed Jan 18, 2025
1 parent b10bc7a commit 7734a5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ jobs:
- name: Check clippy
shell: bash
run: |
cargo clippy --all-targets --all-features -- \
cargo clippy --release --all-targets --all-features -- \
-D clippy::suspicious -D clippy::style -D clippy::complexity \
-D clippy::perf -D clippy::dbg_macro -D clippy::todo \
-D clippy::unimplemented -D warnings
- name: Test
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')
run: cargo test --target ${{ matrix.target }}
run: cargo test --release --target ${{ matrix.target }}
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ jobs:
- name: Check clippy
shell: bash
run: |
cargo clippy --all-targets --all-features -- \
cargo clippy --release --all-targets --all-features -- \
-D clippy::suspicious -D clippy::style -D clippy::complexity \
-D clippy::perf -D clippy::dbg_macro -D clippy::todo \
-D clippy::unimplemented -D warnings
- name: Test
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')
run: cargo test --target ${{ matrix.target }}
run: cargo test --release --target ${{ matrix.target }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ jobs:

- name: Check clippy
run: |
cargo clippy --all-targets --all-features -- \
cargo clippy --release --all-targets --all-features -- \
-D clippy::suspicious -D clippy::style -D clippy::complexity \
-D clippy::perf -D clippy::dbg_macro -D clippy::todo \
-D clippy::unimplemented -D warnings
continue-on-error: true

- name: Test
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')
run: cargo test --target ${{ matrix.target }}
run: cargo test --release --target ${{ matrix.target }}

- name: Rename Binary
shell: bash
Expand Down

0 comments on commit 7734a5d

Please sign in to comment.