Skip to content

Update documentation and Python tests to reflect new conventions. #223

Update documentation and Python tests to reflect new conventions.

Update documentation and Python tests to reflect new conventions. #223

Workflow file for this run

name: Linters and coding standards checks
on:
push:
pull_request:
jobs:
clang-tidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
sudo apt-add-repository 'deb https://repos.codelite.org/wx3.1.5/ubuntu/ focal universe'
sudo apt-get update
sudo apt-get install -y automake autoconf clang-tidy
sudo apt-get install -y libwxbase3.1-0-unofficial \
libwxbase3.1unofficial-dev \
libwxgtk3.1-0-unofficial \
libwxgtk3.1unofficial-dev \
wx3.1-headers \
wx-common
- run: aclocal
- run: automake --add-missing
- run: autoconf
- run: ./configure
- run: make clang-tidy
flake8:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up dependencies
run: |
python -m pip install --upgrade pip
pip install cython wheel lxml numpy scipy flake8
- name: Run flake8
uses: py-actions/flake8@v2
with:
path: "src/pygambit"
max-line-length: 99