Skip to content

Lock req versions + release number #983

Lock req versions + release number

Lock req versions + release number #983

Workflow file for this run

name: Continuous Integration [python]
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
py-cpu:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# We use ubuntu-22.04 and macos-13 because they are the final Github runner images
# with Python 3.8 pre-installed. Brain OS images based on Jetpack 5 use 3.8 as the
# system Python, so we want to test 3.8 even though it is EOL.
os: [ubuntu-22.04, macos-13]
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 -v -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