From ce5e476b2326643f5d963aa11b058df48ca1e2c8 Mon Sep 17 00:00:00 2001 From: Konstantin Fickel Date: Sun, 15 Feb 2026 17:31:18 +0100 Subject: [PATCH] ci: split workflow into check and build jobs --- .forgejo/workflows/ci.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 7fcb54b..6ce781f 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -5,7 +5,7 @@ on: workflow_dispatch: jobs: - build-and-lint: + check: name: Lint, Check & Test runs-on: nix @@ -16,8 +16,12 @@ jobs: - run: nix --version - run: nix flake check - - name: Install the project - run: 'nix develop .#impure --command bash -c "uv sync --locked --all-extras --dev"' + build: + name: Build Package + runs-on: nix - - name: Test with PyTest - run: nix develop .#impure --command bash -c "uv run pytest --junit-xml test-report.xml" + steps: + - name: Check out Repository + uses: https://git.konstantinfickel.de/actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 + + - run: nix build