Skip to content

try

try #286

Workflow file for this run

name: tests
on: [push, pull_request]
jobs:
static_analysis:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Installing requirements
run:
python -m pip install -r requirements.txt
- name: Static analysis
run: pre-commit run --all
scons_test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-20.04", "ubuntu-24.04", "macos-14"]
python: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Installing python requirements
run:
python -m pip install -r requirements.txt
- name: Installing ubuntu requirements
if: ${{startsWith(matrix.os, 'ubuntu')}}
run:
sudo apt-get install -y --no-install-recommends clang libeigen3-dev
- name: Installing macos requirements
if: ${{startsWith(matrix.os, 'macos')}}
run:
brew install eigen && brew install --cask gcc-arm-embedded && brew install gcc@13
- name: Building
run: scons -j$(nproc || sysctl -n hw.logicalcpu)
full_test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-20.04", "ubuntu-24.04", "macos-14"]
python: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Installing ubuntu requirements
if: ${{startsWith(matrix.os, 'ubuntu')}}
run:
sudo apt-get install -y --no-install-recommends clang libeigen3-dev
- name: Installing macos requirements
if: ${{startsWith(matrix.os, 'macos')}}
run:
brew install eigen && brew install --cask gcc-arm-embedded && brew install gcc@13
- name: Installing rednose
run: pip install -e .[dev]
- name: Running all tests
run: pytest