Skip to content

install pytest explicitly #121

install pytest explicitly

install pytest explicitly #121

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 }}
env:
PIP_BREAK_SYSTEM_PACKAGES: 1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pip
run: apt update && apt install -y python3-pip python3-pytest
- name: Install pip dependencies
run: |
python3 -m pip install -U pycodestyle flake8 flake8-blind-except flake8-builtins flake8-class-newline flake8-comprehensions flake8-deprecated flake8-docstrings flake8-import-order flake8-quotes
python3 -m pip install .[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