Skip to content

Commit a1b5a61

Browse files
Copilot0xrinegade
andcommitted
Optimize comprehensive E2E and mobile tests: run only on main branch with tags
Co-authored-by: 0xrinegade <[email protected]>
1 parent 0f059b6 commit a1b5a61

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

.github/workflows/comprehensive-e2e-tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
name: Comprehensive E2E Tests - Production
22

33
on:
4-
# Run on pushes to main branch
4+
# Run on main branch with version tags (for releases)
55
push:
66
branches: [ main, master ]
7+
tags: [ 'v*' ]
78

8-
# Run on pull requests
9-
pull_request:
10-
branches: [ main, master ]
9+
# Run on GitHub releases
10+
release:
11+
types: [published, created]
1112

1213
# Allow manual triggering
1314
workflow_dispatch:
@@ -18,7 +19,7 @@ on:
1819
default: 'https://svmseek.com'
1920
type: string
2021

21-
# Run on schedule (daily at 2 AM UTC)
22+
# Run on schedule (daily at 2 AM UTC) for production monitoring
2223
schedule:
2324
- cron: '0 2 * * *'
2425

.github/workflows/realnet-tests.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
name: Periodic Realnet Tests
22

33
on:
4-
# Run every 6 hours to test against live Solana mainnet
4+
# Run on main branch with version tags (for releases)
5+
push:
6+
branches: [ main, master ]
7+
tags: [ 'v*' ]
8+
9+
# Run on GitHub releases
10+
release:
11+
types: [published, created]
12+
13+
# Run every 6 hours to test against live Solana mainnet (production monitoring)
514
schedule:
615
- cron: '0 */6 * * *'
716

0 commit comments

Comments
 (0)