Split zsh hook from bash hook, back up env vars before setting them, avoid _always_ streaming micromamba output #39
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| components: clippy, rustfmt | |
| rustflags: "" | |
| target: x86_64-unknown-linux-gnu | |
| - uses: mamba-org/setup-micromamba@v2 | |
| env: | |
| ACTIONS_STEP_DEBUG: true | |
| - run: sudo apt-get update && sudo apt-get install -y fish zsh | |
| - run: cargo test --all-features | |
| if: always() | |
| - run: cargo fmt --check | |
| if: always() | |
| - run: cargo clippy | |
| if: always() | |
| - run: cargo build --release --all-features | |
| if: always() | |
| windows: | |
| runs-on: windows-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| components: clippy, rustfmt | |
| rustflags: "" | |
| target: x86_64-pc-windows-msvc | |
| - uses: mamba-org/setup-micromamba@v2 | |
| env: | |
| ACTIONS_STEP_DEBUG: true | |
| - run: cargo test --features=__test_powershell,__test_bash | |
| if: always() | |
| - run: cargo fmt --check | |
| if: always() | |
| - run: cargo clippy | |
| if: always() | |
| - run: cargo build --release --features=__test_powershell,__test_bash | |
| if: always() |