ci: consolidate to a single ci.yml that runs all tests
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
8b1c816fa0
commit
8b26a89a84
28
.github/workflows/auth-gateway.yml
vendored
28
.github/workflows/auth-gateway.yml
vendored
@ -1,28 +0,0 @@
|
||||
name: auth-gateway
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- apps/auth/services/gateway/**
|
||||
- go.mod
|
||||
- go.sum
|
||||
pull_request:
|
||||
paths:
|
||||
- apps/auth/services/gateway/**
|
||||
- go.mod
|
||||
- go.sum
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
|
||||
- name: Test
|
||||
run: go test ./apps/auth/services/gateway/...
|
||||
28
.github/workflows/auth-users.yml
vendored
28
.github/workflows/auth-users.yml
vendored
@ -1,28 +0,0 @@
|
||||
name: auth-users
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- apps/auth/services/users/**
|
||||
- go.mod
|
||||
- go.sum
|
||||
pull_request:
|
||||
paths:
|
||||
- apps/auth/services/users/**
|
||||
- go.mod
|
||||
- go.sum
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
|
||||
- name: Test
|
||||
run: go test ./apps/auth/services/users/...
|
||||
@ -1,17 +1,9 @@
|
||||
name: finance-api
|
||||
name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- apps/finance/**
|
||||
- go.mod
|
||||
- go.sum
|
||||
pull_request:
|
||||
paths:
|
||||
- apps/finance/**
|
||||
- go.mod
|
||||
- go.sum
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@ -25,4 +17,4 @@ jobs:
|
||||
go-version-file: go.mod
|
||||
|
||||
- name: Test
|
||||
run: go test ./apps/finance/services/api/main/...
|
||||
run: go test ./...
|
||||
Loading…
x
Reference in New Issue
Block a user