Skip to content

[FIX] Small bugfixes for demo #207

[FIX] Small bugfixes for demo

[FIX] Small bugfixes for demo #207

Workflow file for this run

name: Coliseum
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "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: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff hatch
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
ruff --format=github --select=E9,F63,F7,F82 --ignore=I001,W291,E501,S311 --target-version=py37 .
# default set of ruff rules with GitHub Annotations
ruff --format=github --ignore=I001,W291,E501,S311 --target-version=py37 .
- name: Test with pytest and hatch
run: |
hatch env run test