From f36042ba57471142689a55988bc3a0591dce0678 Mon Sep 17 00:00:00 2001 From: Christian Monch Date: Thu, 29 Jan 2026 16:33:31 +0100 Subject: [PATCH 1/2] move from github workflows to forgejo workflows --- {.github => .forgejo}/workflows/codespell.yml | 0 .../workflows/run_tests.yaml | 20 ++++++++----------- 2 files changed, 8 insertions(+), 12 deletions(-) rename {.github => .forgejo}/workflows/codespell.yml (100%) rename {.github => .forgejo}/workflows/run_tests.yaml (64%) diff --git a/.github/workflows/codespell.yml b/.forgejo/workflows/codespell.yml similarity index 100% rename from .github/workflows/codespell.yml rename to .forgejo/workflows/codespell.yml diff --git a/.github/workflows/run_tests.yaml b/.forgejo/workflows/run_tests.yaml similarity index 64% rename from .github/workflows/run_tests.yaml rename to .forgejo/workflows/run_tests.yaml index fc2aaa3..1716e7e 100644 --- a/.github/workflows/run_tests.yaml +++ b/.forgejo/workflows/run_tests.yaml @@ -8,28 +8,24 @@ jobs: uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.12' + uses: actions/setup-python@v5 + + - name: Install uv + uses: astral-sh/setup-uv@v6 - name: Install hatch - run: | - pip install hatch + run: uv tool install hatch - - name: Install subdatasets - run: | - git submodule update --init --recursive - - - name: run tests + - name: Run tests run: | hatch run tests:run \ --ignore=dump_things_service/tests/test_generators.py \ --ignore=dump_things_service/tests/test_ifabsent_patch.py - - name: run generator tests + - name: Run generator tests run: | hatch run tests:run dump_things_service/tests/test_generators.py - - name: run ifabsent-patch tests + - name: Run ifabsent-patch tests run: | hatch run tests:run dump_things_service/tests/test_ifabsent_patch.py -- 2.52.0 From 233770cd47933b2f26bd66d2e89c59a57ef633b9 Mon Sep 17 00:00:00 2001 From: Christian Monch Date: Fri, 30 Jan 2026 13:05:17 +0100 Subject: [PATCH 2/2] set manual trigger for codespell workflow The codespell workflow is still broken. This commit allows manual triggering to determine the error cause. --- .forgejo/workflows/codespell.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.forgejo/workflows/codespell.yml b/.forgejo/workflows/codespell.yml index e21712e..93e4437 100644 --- a/.forgejo/workflows/codespell.yml +++ b/.forgejo/workflows/codespell.yml @@ -1,12 +1,8 @@ -# Codespell configuration is within pyproject.toml +# Codespell configuration is within `pyproject.toml` --- name: Codespell -on: - push: - branches: [master] - pull_request: - branches: [master] +on: workflow_dispatch permissions: contents: read @@ -18,8 +14,9 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 - - name: Annotate locations with typos - uses: codespell-project/codespell-problem-matcher@v1 + uses: actions/checkout@v5 + - name: Codespell uses: codespell-project/actions-codespell@v2 + with: + ignore_words_list: crate -- 2.52.0