initial-commit-fix-CI #1
@@ -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,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
|
||||
|
||||
@@ -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,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
|
||||
|
||||
@@ -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: .
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user