Skip to content

Update README.md

Update README.md #17

Workflow file for this run

name: Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
code-quality:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Linting
run: |
python -m pip install --upgrade pip
pip install flake8
flake8 pycpp
docs-quality:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Docs
run: |
python -m pip install --upgrade pip
pip install pydocstyle
pydocstyle pycpp
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
python-version: ['3.9', '3.10']
name: Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Install armadillo
run:
brew install armadillo
- name: init carma git-submodule
run: git submodule update --init
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install in Development mode
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Run tests
run: pytest pycpp