From fa3fd18c77ee1f75243726ea49d17b13eb1e45f2 Mon Sep 17 00:00:00 2001 From: Kim Gustyr Date: Fri, 30 Oct 2026 19:01:53 +0100 Subject: [PATCH 1/2] ci: Run CI workflows on Depot CI Move the Tests, SDK spec and CodSpeed workflows from GitHub Actions to Depot CI. Publishing and release workflows stay on GitHub Actions. CodSpeed now measures in simulation mode, as Depot runners are not bare-metal. --- {.github => .depot}/workflows/codspeed.yml | 4 ++-- {.github => .depot}/workflows/pytest.yml | 2 +- {.github => .depot}/workflows/sdk-spec.yml | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename {.github => .depot}/workflows/codspeed.yml (93%) rename {.github => .depot}/workflows/pytest.yml (95%) rename {.github => .depot}/workflows/sdk-spec.yml (100%) diff --git a/.github/workflows/codspeed.yml b/.depot/workflows/codspeed.yml similarity index 93% rename from .github/workflows/codspeed.yml rename to .depot/workflows/codspeed.yml index f465d92..680ff92 100644 --- a/.github/workflows/codspeed.yml +++ b/.depot/workflows/codspeed.yml @@ -14,7 +14,7 @@ permissions: jobs: benchmarks: name: Run benchmarks - runs-on: codspeed-macro + runs-on: depot-ubuntu-latest steps: - name: Checkout repository @@ -34,5 +34,5 @@ jobs: - name: Run benchmarks uses: CodSpeedHQ/action@78102a468f96d8e0ccb92d0ec49425753fc42062 # v5.6.0 with: - mode: walltime + mode: simulation run: make benchmark diff --git a/.github/workflows/pytest.yml b/.depot/workflows/pytest.yml similarity index 95% rename from .github/workflows/pytest.yml rename to .depot/workflows/pytest.yml index 164ea21..f11becc 100644 --- a/.github/workflows/pytest.yml +++ b/.depot/workflows/pytest.yml @@ -8,7 +8,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: depot-ubuntu-latest strategy: max-parallel: 5 diff --git a/.github/workflows/sdk-spec.yml b/.depot/workflows/sdk-spec.yml similarity index 100% rename from .github/workflows/sdk-spec.yml rename to .depot/workflows/sdk-spec.yml From f9ed665a00aa197c46ee496c12d825460d2227b0 Mon Sep 17 00:00:00 2001 From: Kim Gustyr Date: Fri, 30 Oct 2026 19:13:54 +0100 Subject: [PATCH 2/2] ci: Try the SDK spec workflow from the Depot copy (temporary) --- .depot/workflows/sdk-spec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.depot/workflows/sdk-spec.yml b/.depot/workflows/sdk-spec.yml index 28056e0..3819f82 100644 --- a/.depot/workflows/sdk-spec.yml +++ b/.depot/workflows/sdk-spec.yml @@ -11,7 +11,7 @@ permissions: jobs: sdk-spec: # Keep the ref in `uses:` and `spec-ref` in sync. - uses: Flagsmith/sdk-spec/.github/workflows/run-spec.yml@v0.6.0 + uses: Flagsmith/sdk-spec/.github/workflows/run-spec.yml@db22fdd4f96b558992541126d4a2e0f414926b4d with: spec-ref: v0.6.0 language: python