Skip to content

Add Python 3.11, 3.12 to testing matrix (#945) #229

Add Python 3.11, 3.12 to testing matrix (#945)

Add Python 3.11, 3.12 to testing matrix (#945) #229

Workflow file for this run

name: rosdep-ci
on:
push:
branches: [master]
pull_request:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
include:
- os: ubuntu-20.04
python: '3.6'
name: rosdep tests
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{matrix.python}}
uses: actions/setup-python@v4
with:
python-version: ${{matrix.python}}
- name: Install dependencies
run: |
python -m pip install -U -e .[test] codecov pytest-cov
- name: Run tests
run: |
python -m pytest test --cov
- name: Check coverage
run: |
python -m codecov