Author SHA1 Message Date
mathias2784 5e2842e9b5 Merge branch 'master' into publish-workflow
Tests / test_and_lint (push) Successful in 8s
Publish Package to Gitea / publish (push) Failing after 7s
2026-10-01 21:57:35 +02:00
mathias2784 2ad038211c publish workflow fix
Tests / test_and_lint (push) Successful in 8s
2026-10-01 21:55:01 +02:00
mathias2784 9f85c0034f Publish workflow (#3)
Tests / test_and_lint (push) Successful in 7s
Publish Package to Gitea / publish (push) Failing after 6s
Reviewed-on: #3
Co-authored-by: Mathias Scheider <mathias2784@web.de>
2026-10-01 19:35:04 +00:00
mathias2784 fd36654d58 pyproject.toml
Tests / test_and_lint (push) Successful in 8s
2026-10-01 21:33:28 +02:00
mathias2784 d56a4cdf34 Publish workflow (#2)
Tests / test_and_lint (push) Successful in 7s
Reviewed-on: #2
Co-authored-by: Mathias Scheider <mathias2784@web.de>
2026-10-01 19:31:35 +00:00
mathias2784 0197339eb0 publish workflow
Tests / test_and_lint (push) Successful in 7s
2026-10-01 21:29:55 +02:00
mathias2784 9d13c6ec14 File utils1 (#1)
Tests / test_and_lint (push) Successful in 7s
Reviewed-on: #1
Co-authored-by: Mathias Scheider <mathias2784@web.de>
2026-10-01 19:13:45 +00:00
mathias2784 34186463fc ignore EXE002 in project ruff config and drop exec bits from two python files
Tests / test_and_lint (push) Successful in 6s
2026-10-01 21:11:31 +02:00
mathias2784 5af8d7f443 ignore EXE002 in project ruff config and drop exec bits from two python files 2026-10-01 21:11:11 +02:00
4 changed files with 44 additions and 2 deletions
+36
View File
@@ -0,0 +1,36 @@
name: Publish Package to Gitea
on:
push:
tags:
- "v*" # This triggers the workflow when you push a tag like v1.0.0
jobs:
publish:
runs-on: ubuntu-latest # Or your specific runner label
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Build package
run: python -m build
- name: Publish to Gitea PyPI
env:
# These secrets must match the names you created in Gitea
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
# REPLACE THIS URL with your actual Gitea PyPI endpoint
TWINE_REPOSITORY_URL: "https://gitea.schneiderserver.site/api/packages/mathias2784/pypi"
run: |
twine upload --repository-url $TWINE_REPOSITORY_URL dist/*
+8 -2
View File
@@ -1,7 +1,7 @@
[project] [project]
name = "utils" name = "utils"
version = "0.1.1" version = "0.1.2"
description = "This is a test version bump with only minor improvements" description = "Some hopefully useful utilities to use in everyday coding"
readme = "README.md" readme = "README.md"
authors = [ authors = [
{ name = "Mathias Schneider", email = "mathias.schneider@d-fine.com" } { name = "Mathias Schneider", email = "mathias.schneider@d-fine.com" }
@@ -30,6 +30,12 @@ markers = [
"live: opens a real GUI dialog, intended for local manual testing", "live: opens a real GUI dialog, intended for local manual testing",
] ]
[tool.ruff.lint]
# File modes are unreliable in this environment (/mnt/anbau mounts force 0777),
# which makes EXE002 report every file locally. Ignore it deliberately instead of
# relying on a personal global config that CI does not have.
ignore = ["EXE002"]
[build-system] [build-system]
requires = ["uv_build>=0.12.20,<0.13.0"] requires = ["uv_build>=0.12.20,<0.13.0"]
build-backend = "uv_build" build-backend = "uv_build"
Executable → Regular
View File
Executable → Regular
View File