build(deps-dev): Bump debugpy from 1.8.17 to 1.8.18 in /py-oxbow #545
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| env: | |
| # Disable incremental compilation for faster from-scratch builds | |
| CARGO_INCREMENTAL: 0 | |
| jobs: | |
| TestOxbow: | |
| name: "Test Rust" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: rustup update | |
| # Typechecking | |
| - name: Run Cargo Check | |
| run: cargo check -p oxbow -p py-oxbow --all-features | |
| # Linting | |
| - name: Install Clippy | |
| run: rustup component add clippy | |
| - name: Run Clippy | |
| run: cargo clippy -p oxbow -p py-oxbow --all-features -- -D warnings | |
| # Assert Formatting | |
| - name: Install rustfmt | |
| run: rustup component add rustfmt | |
| - name: Check Formatting | |
| run: cargo fmt --all --check | |
| # Tests | |
| - name: Download fixtures | |
| run: cd fixtures && wget -i list.txt | |
| - name: Run Tests | |
| run: cargo test -p oxbow -p py-oxbow --all-features | |
| TestPython: | |
| name: "Test Python" | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: | |
| - '3.9' | |
| - '3.10' | |
| - '3.11' | |
| - '3.12' | |
| - '3.13' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: rustup update | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| working-directory: "py-oxbow" | |
| python-version: ${{ matrix.python-version }} | |
| - run: | | |
| cd py-oxbow/tests | |
| uv run --no-default-groups --dev pytest | |
| LintPython: | |
| name: "Lint Python" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| working-directory: "py-oxbow" | |
| - run: | | |
| cd py-oxbow | |
| uv run --no-default-groups --only-group=dev ruff format --check | |
| uv run --no-default-groups --only-group=dev ruff check | |