From dad0fb21d45c10eb926093fb0e4151f09da4fa6b Mon Sep 17 00:00:00 2001 From: Jens Tirsvad Nielsen Date: Wed, 7 Oct 2026 11:38:07 +0800 Subject: [PATCH] Move CI workflow from .github to .gitea Gitea Actions reads .gitea/workflows, so the workflow lives there. Update the workflow header comment, the Continuous integration section and the project layout in the README to match. A GitHub mirror does not run it. --- {.github => .gitea}/workflows/ci.yml | 2 +- README.md | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) rename {.github => .gitea}/workflows/ci.yml (86%) diff --git a/.github/workflows/ci.yml b/.gitea/workflows/ci.yml similarity index 86% rename from .github/workflows/ci.yml rename to .gitea/workflows/ci.yml index 6be6cfe..9b34484 100644 --- a/.github/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -1,4 +1,4 @@ -# Runs on GitHub Actions and on Gitea Actions (Gitea also reads .github/workflows). +# Runs on Gitea Actions (Gitea reads .gitea/workflows). name: CI on: diff --git a/README.md b/README.md index 1c4aac7..446500a 100644 --- a/README.md +++ b/README.md @@ -121,10 +121,11 @@ mypy ## Continuous integration -The workflow in `.github/workflows/ci.yml` runs on every push and pull request. It -runs on GitHub Actions and on Gitea Actions. It creates a virtual environment on -Python 3.13, upgrades `pip`, installs the project with the `dev` extra and runs -`ruff check .`, `mypy` and `python -m pytest`. +The workflow in `.gitea/workflows/ci.yml` runs on Gitea Actions on every push and +pull request. It creates a virtual environment on Python 3.13, upgrades `pip`, +installs the project with the `dev` extra and runs `ruff check .`, `mypy` and +`python -m pytest`. GitHub does not read the `.gitea` folder, so a GitHub mirror +does not run it. ## Build the source documentation @@ -154,7 +155,7 @@ browser. The output folder is ignored by git. ├── docs/ Project documents (business case, plan, milestones, reviews) ├── Doxyfile Doxygen configuration ├── pyproject.toml Project configuration -└── .github/workflows/ Continuous integration +└── .gitea/workflows/ Continuous integration ``` ## License