Fix reader inits to propagate to base reader #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LLM checks | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.inputs.BRANCH }} | |
- name: Set up Python | |
uses: pdm-project/setup-pdm@v3 | |
with: | |
python-version: '3.10' | |
cache: false | |
- name: Cache pdm cache folder | |
uses: actions/cache@v4 | |
id: python_cache | |
with: | |
path: ./llm-service/.venv | |
key: pdm-venv-${{ hashFiles('./llm-service/pdm.lock') }} | |
- name: Install Python dependencies | |
if: steps.python_cache.outputs.cache-hit != 'true' | |
run: | | |
pdm install | |
working-directory: llm-service | |
- name: Run ruff | |
run: | | |
pdm run ruff check app | |
working-directory: llm-service | |
- name: Run mypy | |
run: | | |
pdm run mypy app | |
working-directory: llm-service | |
- name: Test with pytest | |
run: | | |
pdm run pytest -sxvvra | |
working-directory: llm-service | |