🔒 Optimize stability and performance testing
Some checks are pending
Stability Tests / Stability Tests (1.24, macos-latest) (push) Waiting to run
Stability Tests / Stability Tests (1.24, ubuntu-latest, true) (push) Waiting to run
Stability Tests / Stability Tests (1.24, windows-latest) (push) Waiting to run

This commit is contained in:
2025-03-14 11:44:50 +08:00
parent 1f3323def0
commit 427e7d8766
4 changed files with 168 additions and 134 deletions

View File

@@ -5,8 +5,6 @@ on:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
schedule:
- cron: '0 0 * * 0' # Runs weekly at Sunday midnight
jobs:
stability-tests:
@@ -39,6 +37,12 @@ jobs:
- name: Run Basic Tests
run: go test -v -race
- name: Run XCipher Stream Tests
run: go test -v -run 'TestStream(EncryptDecrypt|EncryptDecryptWithOptions|ParallelProcessing|Cancellation|Errors)'
- name: Run XCipher Feature Tests
run: go test -v -run 'Test(CPUFeatureDetection|DynamicParameterAdjustment|OptimizedStreamOptions|ZeroCopyMechanism|AutoParallelDecision)'
- name: Run Concurrent Load Test
if: ${{ matrix.run-long-tests }}
run: go test -v -run TestConcurrentLoad -timeout 30m