Skip to content

ci: stabilize native integration tests on slower runners #235

ci: stabilize native integration tests on slower runners

ci: stabilize native integration tests on slower runners #235

Workflow file for this run

# GENERATED FILE - DO NOT EDIT DIRECTLY
# generator: gds
# bundle: 0.9.4-dev
# source-tree-digest: sha256:85d792bf33db30ad34ecd6ad0bf7bf0bdf84c41778432e87b45a89e200dbe18b
# input-digest: sha256:7eac6db12d8a42a5003f12d2e22b63e17f20aff3b49764e000b94a9a782702f2
# output-digest: sha256:15b87303cd0692fd8e5d88281771dded9fdc2fc027d600681155cb4e71f42386
# edit-source:
# - .gds/repository.yaml
# - policies/base/repository-default.yaml
# - policies/repositories/github-device-sync.yaml
# - policies/roles/public-module.yaml
# - policies/stacks/continuous-development.yaml
# - templates/agents/repository.md.tmpl
# - templates/github-actions/go.yml.tmpl
# - templates/harnesses/claude.md.tmpl
name: gds-ci
on:
pull_request:
branches:
- "main"
push:
branches:
- "main"
permissions: {}
concurrency:
group: gds-ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
fast:
name: GDS fast
permissions:
contents: read
uses: NDDev-OpenNetwork/ci-workflows/.github/workflows/go-ci.yml@a624689c897c5f4733cf475159e77bba3a2b98c7
with:
fetch_depth: 0
# Public hosted CI uses GitHub's service cache; the pinned reusable
# workflow owns cache keys and invalidation, so no runner-local state is trusted.
cache: true
runner: "ubuntu-latest"
go_version: "1.27.1"
# Declared fast commands own their build scope; the complete build is below.
build_command: ""
test_command: "scripts/validate_shell.sh && scripts/validate_go_core.sh --fast"
timeout_minutes: 30
pr-required:
name: GDS PR required
# Run the declared fast checks first. Repositories can keep this phase
# inexpensive and reserve their full test/build commands for this job.
needs: fast
permissions:
contents: read
uses: NDDev-OpenNetwork/ci-workflows/.github/workflows/go-ci.yml@a624689c897c5f4733cf475159e77bba3a2b98c7
with:
fetch_depth: 0
cache: true
runner: "ubuntu-latest"
go_version: "1.27.1"
build_command: "go build -trimpath ./core/cmd/gds"
test_command: "go test ./... && python3 -m pip install --quiet --require-hashes -r requirements/test.txt && python3 -m pytest"
timeout_minutes: 30