Skip to content

Refactoring Round 1 (#228) #683

Refactoring Round 1 (#228)

Refactoring Round 1 (#228) #683

Workflow file for this run

name: Run Tests
on: [push]
jobs:
checker:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- name: install dependencies
run: |
pip install -r requirements-dev.txt
- name: pre-commit, mypy & pylint
run: |
pre-commit run --all-files
mypy ./field_friend --non-interactive
# pylint ./field_friend
pytest:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- run: pip install -e . -r requirements-dev.txt
- name: run pytests
env:
PYTHONPATH: ${{ github.workspace }}
run: pytest