Skip to content

Commit 6dbe6e9

Browse files
committed
chore: only fire other workflows if their directories are touched
1 parent 388f12a commit 6dbe6e9

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/docker-compose-integration.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
run: |
3535
# Test sticker award API with sample user data
3636
curl -f -X GET "http://localhost:8080/api/award/v1/users/user-001/stickers" || exit 1
37-
# Test user management health endpoint
37+
# Give user management service extra time to fully start
38+
sleep 5
39+
# Test user management health endpoint
3840
curl -f -X GET "http://localhost:8080/api/users/v1/health" || exit 1
3941
4042
- name: Show service logs on failure

.github/workflows/user-management-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ name: User Management Tests
33
on:
44
push:
55
branches: ["main"]
6+
paths:
7+
- "user-management/**"
68
pull_request:
79
branches: ["main"]
10+
paths:
11+
- "user-management/**"
812
workflow_dispatch:
913

1014
jobs:

0 commit comments

Comments
 (0)