Skip to content

enable Flake8, PyLama & PyCodeStyle linting #233

enable Flake8, PyLama & PyCodeStyle linting

enable Flake8, PyLama & PyCodeStyle linting #233

Workflow file for this run

name: Install, Lint & Test
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- 3.12
- 3.13.0-alpha.1
# github.com/actions/python-versions/blob/main/versions-manifest.json
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Python Module(s)/Package(s) & Dependencies
run: make install-editable
- name: Lint Python Code
run: make lint-all
- name: Install pytest
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
- name: Run tests
run: test/run
- name: Upload coverage reports to Codecov
run: |
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -t ${CODECOV_TOKEN}