Skip to content

Update test.yml

Update test.yml #106

Workflow file for this run

name: CI
on:
push:
pull_request:
branches:
- main
jobs:
unit_tests:
name: Unit Tests
runs-on: ubuntu-latest
strategy:
matrix:
container: ['ros:iron', 'ros:rolling']
container: ${{ matrix.container }}
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install pip
run: |
python3 -m pip install -U pip setuptools
- name: Install pip dependencies
run: |
python3 -m pip install --upgrade --upgrade-strategy eager .[test]
python3 -m pip freeze
- name: Install apt dependencies
run: sudo apt update && sudo apt install -y doxygen graphviz
- name: Run tests
run: py.test --verbose test