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:
|
||||
|
||||
jobs:
|
||||
code-quality:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Python and UV dependencies
|
||||
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: Ruff lint
|
||||
run: ruff check .
|
||||
|
||||
|
||||
@@ -6,14 +6,15 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
renovate-like:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Python
|
||||
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: 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:
|
||||
safety:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Python and UV dependencies
|
||||
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: Run safety check
|
||||
run: safety check
|
||||
|
||||
@@ -7,14 +7,15 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Python and UV dependencies
|
||||
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: Run pytest
|
||||
env:
|
||||
PYTHONPATH: .
|
||||
|
||||
@@ -7,13 +7,14 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
type-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Setup Python and UV dependencies
|
||||
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: Run mypy
|
||||
run: mypy monitor_utils
|
||||
|
||||
Reference in New Issue
Block a user