initial-commit-fix-CI #1

Merged
brian merged 14 commits from initial-commit-fix-CI into main 2025-08-28 21:48:15 +02:00
6 changed files with 36 additions and 25 deletions
Showing only changes of commit cb036da997 - Show all commits
+6 -5
View File
@@ -7,14 +7,15 @@ on:
pull_request:
jobs:
setup-python-uv-dependencies:
name: Setup Python and UV dependencies
uses: ./.gitea/workflows/setup-python-uv-dependencies.yml
with:
python-version: ${{ vars.PYTHON_VERSION }}
code-quality:
runs-on: ubuntu-latest
steps:
- name: Setup Python and UV dependencies
uses: ./.gitea/workflows/setup-python-uv-dependencies.yml
with:
python-version: ${{ vars.PYTHON_VERSION }}
- name: Ruff lint
run: ruff check .
+6 -5
View File
@@ -6,14 +6,15 @@ on:
workflow_dispatch:
jobs:
setup-python:
name: Setup Python
uses: ./.gitea/workflows/setup-python.yml
with:
python-version: ${{ vars.PYTHON_VERSION }}
renovate-like:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: ./.gitea/workflows/setup-python.yml
with:
python-version: ${{ vars.PYTHON_VERSION }}
- name: Install uv and pip-review
run: |
pip install uv pip-review
+6
View File
@@ -8,6 +8,12 @@ on:
- "v*.*.*"
jobs:
setup-python:
name: Setup Python
uses: ./.gitea/workflows/setup-python.yml
with:
python-version: ${{ vars.PYTHON_VERSION }}
build-and-publish:
runs-on: ubuntu-latest
steps:
+6 -5
View File
@@ -6,13 +6,14 @@ on:
workflow_dispatch:
jobs:
setup-python-uv-dependencies:
name: Setup Python and UV dependencies
uses: ./.gitea/workflows/setup-python-uv-dependencies.yml
with:
python-version: ${{ vars.PYTHON_VERSION }}
safety:
runs-on: ubuntu-latest
steps:
- name: Setup Python and UV dependencies
uses: ./.gitea/workflows/setup-python-uv-dependencies.yml
with:
python-version: ${{ vars.PYTHON_VERSION }}
- name: Run safety check
run: safety check
+6 -5
View File
@@ -7,14 +7,15 @@ on:
pull_request:
jobs:
setup-python-uv-dependencies:
name: Setup Python and UV dependencies
uses: ./.gitea/workflows/setup-python-uv-dependencies.yml
with:
python-version: ${{ vars.PYTHON_VERSION }}
test:
runs-on: ubuntu-latest
steps:
- name: Setup Python and UV dependencies
uses: ./.gitea/workflows/setup-python-uv-dependencies.yml
with:
python-version: ${{ vars.PYTHON_VERSION }}
- name: Run pytest
env:
PYTHONPATH: .
+6 -5
View File
@@ -7,13 +7,14 @@ on:
pull_request:
jobs:
setup-python-uv-dependencies:
name: Setup Python and UV dependencies
uses: ./.gitea/workflows/setup-python-uv-dependencies.yml
with:
python-version: ${{ vars.PYTHON_VERSION }}
type-check:
runs-on: ubuntu-latest
steps:
- name: Setup Python and UV dependencies
uses: ./.gitea/workflows/setup-python-uv-dependencies.yml
with:
python-version: ${{ vars.PYTHON_VERSION }}
- name: Run mypy
run: mypy monitor_utils