Skip to content

Commit 76e4ebc

Browse files
refactor: remove test job from release workflow
Tests already run on every PR via CI. No need to duplicate in release. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6a7d8d9 commit 76e4ebc

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,8 @@ on:
77
workflow_dispatch:
88

99
jobs:
10-
test:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- name: Checkout
14-
uses: actions/checkout@v3
15-
with:
16-
fetch-depth: 0
17-
- name: Set up Go
18-
uses: actions/setup-go@v4
19-
with:
20-
go-version: "1.23.1"
21-
- name: Run tests
22-
run: make test-quick
23-
2410
dev:
2511
runs-on: ubuntu-latest
26-
needs: test
2712
steps:
2813
- name: Checkout code
2914
uses: actions/checkout@v3
@@ -51,7 +36,6 @@ jobs:
5136
# This finishes first so users don't have to wait
5237
release-fast:
5338
runs-on: ubuntu-latest
54-
needs: test
5539
steps:
5640
- name: Checkout
5741
uses: actions/checkout@v3

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ GOVERSION := $(shell go version | cut -d ' ' -f 3 | cut -d '.' -f 2)
22
NAME=github.com/raystack/frontier
33
TAG := $(shell git rev-list --tags --max-count=1)
44
VERSION := $(shell git describe --tags ${TAG})
5-
.PHONY: build check fmt lint test test-quick test-race vet test-cover-html help install proto ui compose-up-dev
5+
.PHONY: build check fmt lint test test-race vet test-cover-html help install proto ui compose-up-dev
66
.DEFAULT_GOAL := build
77
PROTON_COMMIT := "80fc5ba1e538e38d5ca190386af1e69ee64584ee"
88

@@ -33,9 +33,6 @@ lint-fix:
3333
test: ## Run tests
3434
@go test -race $(shell go list ./... | grep -v /ui | grep -v /vendor/ | grep -v /test/ | grep -v /mocks | grep -v postgres/migrations | grep -v /proto) -coverprofile=coverage.out -count 2 -timeout 150s
3535

36-
test-quick: ## Run tests without race detector (faster, for release pipeline)
37-
@go test $(shell go list ./... | grep -v /ui | grep -v /vendor/ | grep -v /test/ | grep -v /mocks | grep -v postgres/migrations | grep -v /proto) -timeout 120s
38-
3936
test-all: lint test e2e-test ## Run all tests
4037

4138
e2e-test: ## Run all e2e tests

0 commit comments

Comments
 (0)