forestry 1.11.0

A simple cross-platform CLI logging library for Rust
Documentation
name: Cargo Test

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  cargo_test_linux:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4
    - name: Build
      run: cargo build --verbose
    - name: Run tests
      run: cargo test --verbose -- --nocapture --test-threads=1
    - name: Run tests (plain)
      run: cargo test --verbose --features plain -- --nocapture --test-threads=1
    - name: Run tests (async)
      run: cargo test --verbose --features async -- --nocapture --test-threads=1

  cargo_test_macos:

    runs-on: macos-latest

    steps:
    - uses: actions/checkout@v4
    - name: Build
      run: cargo build --verbose
    - name: Run tests
      run: cargo test --verbose -- --nocapture --test-threads=1
    - name: Run tests (plain)
      run: cargo test --verbose --features plain -- --nocapture --test-threads=1
    - name: Run tests (async)
      run: cargo test --verbose --features async -- --nocapture --test-threads=1

  cargo_test_windows:

    runs-on: windows-latest

    steps:
    - uses: actions/checkout@v4
    - name: Build
      run: cargo build --verbose
    - name: Run tests
      run: cargo test --verbose -- --nocapture --test-threads=1
    - name: Run tests (plain)
      run: cargo test --verbose --features plain -- --nocapture --test-threads=1
    - name: Run tests (async)
      run: cargo test --verbose --features async -- --nocapture --test-threads=1