Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
with:
python-version: "3.13"
- name: Install dependencies
run: pip install hatch
# renovate: datasource=pypi depName=hatch
run: pip install hatch==1.18.0
- name: Run unit tests
run: hatch run dev:pytest --junitxml=build/junit.xml --cov=reqstool --cov-report=html -o junit_family=xunit2
- name: Build project
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ jobs:
with:
python-version: "3.13"
- name: Install pip package(s)
run: pip install hatch
# renovate: datasource=pypi depName=hatch
run: pip install hatch==1.18.0
- name: Run black formatter check
run: hatch run dev:black --check --verbose src tests
- name: Run flake8 linter
run: hatch run dev:flake8
- name: Install pip package check-jsonschema
run: pip install check-jsonschema
# renovate: datasource=pypi depName=check-jsonschema
run: pip install check-jsonschema==0.38.0
- name: Validate JSON Schemas
run: check-jsonschema --verbose --schemafile "https://json-schema.org/draft/2020-12/schema" src/reqstool/resources/schemas/*/*
- name: Validate generated Pydantic models are up to date
Expand Down
Loading