This commit is contained in:
parent
1e906fc3f0
commit
9c725eea3d
1 changed files with 25 additions and 0 deletions
25
.forgejo/workflows/publish.yaml
Normal file
25
.forgejo/workflows/publish.yaml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
---
|
||||
name: ci
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
lint_and_test:
|
||||
runs-on: docker
|
||||
continue-on-error: true
|
||||
container:
|
||||
image: ghcr.io/astral-sh/uv:alpine
|
||||
steps:
|
||||
- run: apk add --no-cache nodejs npm git
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- run: uv python install # Gets Python version from pyproject.toml
|
||||
- run: uv sync
|
||||
- run: uv run ruff check
|
||||
- run: uv run ruff format
|
||||
- run: uv run pytest test
|
||||
env:
|
||||
ENVIRONMENT: testing
|
||||
Loading…
Add table
Add a link
Reference in a new issue