Skip to content

fix type error in formula.py #12

fix type error in formula.py

fix type error in formula.py #12

name: Python tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: pytest
- name: Check types
uses: jpetrucciani/mypy-check@master
with:
path: 'logicalinduction/formula.py' # we just have one file passing type checks so far