Skip to content

Switch to Class based checks (requires Hub v0.2.11) #95

Switch to Class based checks (requires Hub v0.2.11)

Switch to Class based checks (requires Hub v0.2.11) #95

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python 3.12
uses: actions/setup-python@v6
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pycodestyle pyright
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# - name: Run tests with pytest
# run: |
# pytest
- name: Lint with PyCodeStyle
run: |
find . -name \*.py -exec pycodestyle {} +
- name: Type checking with PyRight
run: |
pyright