Skip to content

Add pattrens to normalize common errors #30

Add pattrens to normalize common errors

Add pattrens to normalize common errors #30

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Python application
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# Till https://github.com/pypa/pip/issues/11440#issuecomment-1445119899
# is implemented we can only do pip install .
pip install .
pip install -r test-requirements.txt
- name: Run tests
run: |
make test