fixed using reusable workflows
Code Quality Pipeline / Setup Python and UV dependencies (pull_request) Successful in 17s
Code Quality Pipeline / code-quality (pull_request) Failing after 4s
Test Python Package / Setup Python and UV dependencies (pull_request) Successful in 18s
Test Python Package / test (pull_request) Failing after 3s
Type Check / Setup Python and UV dependencies (pull_request) Successful in 17s
Type Check / type-check (pull_request) Failing after 4s
Code Quality Pipeline / Setup Python and UV dependencies (pull_request) Successful in 17s
Code Quality Pipeline / code-quality (pull_request) Failing after 4s
Test Python Package / Setup Python and UV dependencies (pull_request) Successful in 18s
Test Python Package / test (pull_request) Failing after 3s
Type Check / Setup Python and UV dependencies (pull_request) Successful in 17s
Type Check / type-check (pull_request) Failing after 4s
This commit is contained in:
@@ -7,14 +7,15 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
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:
|
code-quality:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Python and UV dependencies
|
|
||||||
uses: ./.gitea/workflows/setup-python-uv-dependencies.yml
|
|
||||||
with:
|
|
||||||
python-version: ${{ vars.PYTHON_VERSION }}
|
|
||||||
|
|
||||||
- name: Ruff lint
|
- name: Ruff lint
|
||||||
run: ruff check .
|
run: ruff check .
|
||||||
|
|
||||||
|
|||||||
@@ -6,14 +6,15 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
setup-python:
|
||||||
|
name: Setup Python
|
||||||
|
uses: ./.gitea/workflows/setup-python.yml
|
||||||
|
with:
|
||||||
|
python-version: ${{ vars.PYTHON_VERSION }}
|
||||||
|
|
||||||
renovate-like:
|
renovate-like:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Python
|
|
||||||
uses: ./.gitea/workflows/setup-python.yml
|
|
||||||
with:
|
|
||||||
python-version: ${{ vars.PYTHON_VERSION }}
|
|
||||||
|
|
||||||
- name: Install uv and pip-review
|
- name: Install uv and pip-review
|
||||||
run: |
|
run: |
|
||||||
pip install uv pip-review
|
pip install uv pip-review
|
||||||
|
|||||||
@@ -8,6 +8,12 @@ on:
|
|||||||
- "v*.*.*"
|
- "v*.*.*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
setup-python:
|
||||||
|
name: Setup Python
|
||||||
|
uses: ./.gitea/workflows/setup-python.yml
|
||||||
|
with:
|
||||||
|
python-version: ${{ vars.PYTHON_VERSION }}
|
||||||
|
|
||||||
build-and-publish:
|
build-and-publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -6,13 +6,14 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
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:
|
safety:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
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
|
- name: Run safety check
|
||||||
run: safety check
|
run: safety check
|
||||||
|
|||||||
@@ -7,14 +7,15 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
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:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Python and UV dependencies
|
|
||||||
uses: ./.gitea/workflows/setup-python-uv-dependencies.yml
|
|
||||||
with:
|
|
||||||
python-version: ${{ vars.PYTHON_VERSION }}
|
|
||||||
|
|
||||||
- name: Run pytest
|
- name: Run pytest
|
||||||
env:
|
env:
|
||||||
PYTHONPATH: .
|
PYTHONPATH: .
|
||||||
|
|||||||
@@ -7,13 +7,14 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
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:
|
type-check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Python and UV dependencies
|
|
||||||
uses: ./.gitea/workflows/setup-python-uv-dependencies.yml
|
|
||||||
with:
|
|
||||||
python-version: ${{ vars.PYTHON_VERSION }}
|
|
||||||
|
|
||||||
- name: Run mypy
|
- name: Run mypy
|
||||||
run: mypy monitor_utils
|
run: mypy monitor_utils
|
||||||
|
|||||||
Reference in New Issue
Block a user