Update .drone.yml
remove run on push, bump image to 3.13
This commit is contained in:
@@ -4,11 +4,11 @@ type: docker
|
|||||||
name: python-ci
|
name: python-ci
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event: [ push, pull_request ]
|
event: [ pull_request ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: setup+deps
|
- name: setup+deps
|
||||||
image: python:3.12-slim
|
image: python:3.13-slim
|
||||||
environment:
|
environment:
|
||||||
UV_NO_SYNC_PROGRESS: "1"
|
UV_NO_SYNC_PROGRESS: "1"
|
||||||
commands:
|
commands:
|
||||||
@@ -32,7 +32,7 @@ steps:
|
|||||||
- uv pip install pytest pytest-cov mypy ruff
|
- uv pip install pytest pytest-cov mypy ruff
|
||||||
|
|
||||||
- name: lint-typecheck
|
- name: lint-typecheck
|
||||||
image: python:3.12-slim
|
image: python:3.13-slim
|
||||||
commands:
|
commands:
|
||||||
- export PATH="$HOME/.local/bin:$PATH"
|
- export PATH="$HOME/.local/bin:$PATH"
|
||||||
- . .venv/bin/activate
|
- . .venv/bin/activate
|
||||||
@@ -40,7 +40,7 @@ steps:
|
|||||||
- mypy --ignore-missing-imports .
|
- mypy --ignore-missing-imports .
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: python:3.12-slim
|
image: python:3.13-slim
|
||||||
commands:
|
commands:
|
||||||
- export PATH="$HOME/.local/bin:$PATH"
|
- export PATH="$HOME/.local/bin:$PATH"
|
||||||
- . .venv/bin/activate
|
- . .venv/bin/activate
|
||||||
|
|||||||
Reference in New Issue
Block a user