Add rich styling, box layout, and CSS-inspired gradient support #617
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: ⌛ Test Code | |
| on: | |
| workflow_call: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| test: | |
| name: 🧪 Test on ${{ matrix.target }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| include: | |
| # Linux (x64) | |
| - target: x86_64-unknown-linux-gnu | |
| os: ubuntu-latest | |
| # Linux (ARM) | |
| - target: aarch64-unknown-linux-gnu | |
| os: ubuntu-24.04-arm | |
| # macOS (Intel) | |
| - target: x86_64-apple-darwin | |
| os: macos-latest | |
| # macOS (ARM/M1) | |
| - target: aarch64-apple-darwin | |
| os: macos-latest | |
| # Windows (GNU) | |
| - target: x86_64-pc-windows-gnu | |
| os: windows-latest | |
| # Windows (MSVC) | |
| - target: x86_64-pc-windows-msvc | |
| os: windows-latest | |
| # TODO: Run tests for android, pr wanted. | |
| steps: | |
| - name: 🛎️ Checkout code | |
| uses: actions/checkout@v3 | |
| - name: 🦀 Set up Rust | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| target: ${{ matrix.target }} | |
| components: rustfmt, clippy | |
| - name: 📦 Install Dependencies | |
| run: cargo install cargo-nextest --locked | |
| - name: 🧪 Run Tests | |
| run: cargo nextest run --target ${{ matrix.target }} |