Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to resolve noble based CI fixes #96

Merged
merged 19 commits into from
Apr 13, 2024
Merged
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,24 @@ jobs:
container: ['ros:iron', 'ros:rolling']
container: ${{ matrix.container }}

env:
PIP_BREAK_SYSTEM_PACKAGES: 1

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install pip
run: apt update && apt install -y python3-pip
run: apt update && apt install -y python3-pip python3-pytest

- name: Install pip dependencies
run: |
python3 -m pip install --upgrade --upgrade-strategy eager .[test]
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
run: python3 -m pytest --verbose test