CI fixes: update precommit | lock grpcio, protobuf versions #956
Workflow file for this run
This file contains 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: Continuous Integration [python] | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
py-cpu: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
# Using macos-12 bc: | |
# 1. they removed support for python 3.8 & 3.9 on macos-14 (now macos-latest) | |
# - See: https://github.com/actions/setup-python/issues/696#issuecomment-2071769156 | |
# 2. `test_pose` fails on macos-13 and macos-14 (but not macos-12) | |
os: [ubuntu-latest, macos-12] | |
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: pip3 install -vvv -e .[dev] | |
- name: Run sequential tests | |
run: ./run_python_tests.sh | |
- name: Run asyncio tests | |
run: ./run_python_tests.sh --asyncio | |
- name: Run mypy | |
run: mypy py/farm_ng |