Skip to content

[lib]: Suppress unreachable code during testing #250

[lib]: Suppress unreachable code during testing

[lib]: Suppress unreachable code during testing #250

Workflow file for this run

name: Test main lib (Rust crate)
on:
push:
branches:
- main
# paths:
# - 'src/**'
# - 'Cargo.toml'
# - 'tests/**'
pull_request:
branches:
- main
paths:
- 'src/**'
- 'tests/**'
- 'Cargo.toml'
- '.github/workflows/test-main-lib.yml'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
bitness: [64] # 32, 64
include:
- os: windows-latest
bitness: 32
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Setup Rust toolchain - non-win32
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Test
run: cargo test