Add macOS testing to CI/CD pipeline

macOS process enumeration is now fully implemented and tested.
All 33 tests pass on macOS including platform-specific tests.
Added test-macos job to verify macOS functionality in CI.
This commit is contained in:
pandaadir05
2025-11-21 12:55:41 +02:00
parent f0606d7835
commit fb8d9971d2

View File

@@ -118,6 +118,35 @@ jobs:
run: cargo test --verbose
continue-on-error: true
test-macos:
name: Test on macOS
runs-on: macos-latest
needs: [format, clippy]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-test-
${{ runner.os }}-cargo-
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
security:
name: Security Audit
runs-on: ubuntu-latest