This commit is contained in:
parent
2d958ba520
commit
fa730be9f5
1 changed files with 4 additions and 7 deletions
|
|
@ -6,18 +6,15 @@ on:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_publish:
|
lint_and_test:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
image: ghcr.io/astral-sh/uv:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: astral-sh/ruff-action@v3
|
|
||||||
- uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
|
|
||||||
with:
|
|
||||||
version: "0.11.19"
|
|
||||||
- run: uv python install # Gets Python version from pyproject.toml
|
- run: uv python install # Gets Python version from pyproject.toml
|
||||||
- run: uv sync
|
- run: uv sync
|
||||||
|
- run: ruff check
|
||||||
- run: uv run pytest test
|
- run: uv run pytest test
|
||||||
env:
|
env:
|
||||||
ENVIRONMENT: testing
|
ENVIRONMENT: testing
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue