diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index 9c92d3041e..9fa2d88d75 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -1,6 +1,6 @@ --- name: "Build & Test" -on: # yamllint disable-line rule:truthy +on: # yamllint disable-line rule:truthy push: branches: - "main" @@ -72,6 +72,18 @@ jobs: - name: "Unit tests" run: "go run mage.go test:unit" + steelthread: + name: "Steelthread" + runs-on: "buildjet-4vcpu-ubuntu-2204" + needs: "paths-filter" + if: | + needs.paths-filter.outputs.codechange == 'true' + steps: + - uses: "actions/checkout@v4" + - uses: "authzed/actions/setup-go@main" + - name: "Steelthread tests" + run: "go run mage.go test:steelthread" + integration: name: "Integration Tests" runs-on: "buildjet-4vcpu-ubuntu-2204" diff --git a/magefiles/test.go b/magefiles/test.go index 9af877e87e..d60cc3675b 100644 --- a/magefiles/test.go +++ b/magefiles/test.go @@ -17,7 +17,7 @@ type Test mg.Namespace func (t Test) All() error { ds := Testds{} c := Testcons{} - mg.Deps(t.Unit, t.Integration, t.Image, t.Analyzers, + mg.Deps(t.Unit, t.Integration, t.Steelthread, t.Image, t.Analyzers, ds.Crdb, ds.Postgres, ds.Spanner, ds.Mysql, c.Crdb, c.Spanner, c.Postgres, c.Mysql) return nil