Skip to content

chore(grpc-asyncio): replace hatch with poetry #3

chore(grpc-asyncio): replace hatch with poetry

chore(grpc-asyncio): replace hatch with poetry #3

Workflow file for this run

name: Code QA CI
on: push
jobs:
python-ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
defaults:
run:
working-directory: ./python/remotivelabs-broker
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: abatilo/actions-poetry@v2
- run: poetry self add 'poethepoet[poetry_plugin]'
- run: poetry install
- name: run pytest
run: poetry poe test-local
- name: run ruff
run: poetry poe format-check
- name: run mypy
run: poetry poe mypy-check
rust-cargo:
name: Rust cargo tasks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Build and run tests
run: |
pushd rust/remotivelabs-broker
cargo test
popd
- name: Check format
run: |
pushd rust/remotivelabs-broker
cargo fmt --check
popd