Skip to content

Avoid that the OMR processes finishes prematurely #34

Avoid that the OMR processes finishes prematurely

Avoid that the OMR processes finishes prematurely #34

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: |
setup.py
- name: Install
run: python ./setup.py install
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff==0.0.285 mypy==1.7.1
- name: List packages
run: pip list
- name: Typecheck
run: python -m mypy oemer
- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
ruff --output-format=github --select=E9,F63,F7,F82 --target-version=py37 .