refactor: Move Python configuration and requirements files to scripts/ directory for better organization
This commit is contained in:
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@@ -43,7 +43,7 @@ jobs:
|
||||
- name: Create venv and install dependencies
|
||||
run: |
|
||||
uv venv
|
||||
uv pip install -r requirements-dev.txt
|
||||
uv pip install -r scripts/requirements-dev.txt
|
||||
|
||||
- name: Run pytest
|
||||
run: uv run pytest scripts/tests/ -v --tb=short --cov=scripts --cov-report=xml --cov-report=html
|
||||
@@ -140,7 +140,7 @@ jobs:
|
||||
- name: Create venv and install mypy
|
||||
run: |
|
||||
uv venv
|
||||
uv pip install -r requirements-dev.txt mypy
|
||||
uv pip install -r scripts/requirements-dev.txt mypy
|
||||
|
||||
- name: Run mypy
|
||||
run: uv run mypy scripts/ --ignore-missing-imports --no-implicit-optional
|
||||
@@ -165,7 +165,7 @@ jobs:
|
||||
- name: Create venv and install dependencies
|
||||
run: |
|
||||
uv venv
|
||||
uv pip install -r requirements-dev.txt
|
||||
uv pip install -r scripts/requirements-dev.txt
|
||||
|
||||
- name: Build EPUB
|
||||
run: uv run scripts/build_epub.py
|
||||
|
||||
Reference in New Issue
Block a user