Update CI testing matrix #120
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: rospkg-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: rospkg tests | |
runs-on: ${{matrix.os}} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{matrix.python}} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{matrix.python}} | |
- name: Install dependencies | |
run: | | |
python -m pip install -U -e .[test] pytest-cov -c constraints.txt | |
- name: Run tests | |
run: | | |
python -m pytest --cov test |