test
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Build and push image / docker (push) Failing after 24s
Python CI / python (push) Has been cancelled
Golang lint / GoLint (push) Has been cancelled

This commit is contained in:
2026-04-23 15:22:08 +03:00
parent 953dd83d42
commit e12fe78138
4 changed files with 47 additions and 1 deletions
+1
View File
@@ -39,6 +39,7 @@ jobs:
uses: docker/build-push-action@v7
with:
context: .
file: go.Dockerfile
push: true
tags: |
git.scuroneko.dev/scuroneko/runner-test:${{ gitea.ref_name }}
+38
View File
@@ -0,0 +1,38 @@
name: Python CI
run-name: Python CI for ${{ gitea.repository }} by ${{ gitea.actor }} 🐍
on:
push:
pull_request:
jobs:
python:
runs-on: python-latest
steps:
- name: Check out repository code
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"
cache: "pip"
cache-dependency-path: |
requirements.txt
requirements-dev.txt
pyproject.toml
- name: Install dependencies
run: |
python -V
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
pip install ruff pytest
- name: Lint
run: ruff check .
- name: Run tests
run: pytest -q