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
37 changes: 7 additions & 30 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,36 +22,13 @@ jobs:
with:
python-version: "3.11"

- name: Install markdownlint-cli2
run: npm install -g markdownlint-cli2

- name: Install markdown-link-check
run: npm install -g markdown-link-check

- name: Lint markdown files
run: markdownlint-cli2 "README.md" "CONTRIBUTING.md" "tests/README.md" "docs/**/*.md"
continue-on-error: false

- name: Check links in README.md
run: markdown-link-check README.md
continue-on-error: false

- name: Check links in CONTRIBUTING.md
run: markdown-link-check CONTRIBUTING.md
continue-on-error: false

- name: Check links in tests/README.md
run: markdown-link-check tests/README.md
continue-on-error: false

- name: Check links in docs/RELEASING.md
run: markdown-link-check docs/RELEASING.md
continue-on-error: false

- name: Check links in docs/SHELL_COMPLETION.md
run: markdown-link-check docs/SHELL_COMPLETION.md
continue-on-error: false

- name: Check links in docs/WORKFLOWS.md
run: markdown-link-check docs/WORKFLOWS.md
continue-on-error: false
- name: Check links in markdown files
run: |
for file in README.md CONTRIBUTING.md tests/README.md docs/*.md; do
if [ -f "$file" ]; then
markdown-link-check "$file"
fi
done
8 changes: 0 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@ jobs:

# The --cov-fail-under=90 in pytest already handles the failure threshold

- name: Run integration tests
if: ${{ secrets.GITLAB_TOKEN != '' && secrets.GITLAB_REPO != '' }}
env:
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
GITLAB_PROJECT_PATH: ${{ secrets.GITLAB_REPO }}
RUN_INTEGRATION_TESTS: "1"
run: uv run pytest tests/integration/ -m integration -v -n auto --no-cov

- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
Expand Down
12 changes: 9 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
# File maintenance hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand All @@ -11,17 +11,23 @@ repos:

# Ruff linting and formatting
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
rev: v0.14.11
hooks:
- id: ruff
args: [--fix]
files: ^src/
- id: ruff-format
files: ^src/

# Markdown linting and formatting
- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.20.0
hooks:
- id: markdownlint-cli2

# Mypy type checking
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.14.1
rev: v1.19.1
hooks:
- id: mypy
args: [--strict]
Expand Down
Loading