🔒 Optimize stability and performance testing
This commit is contained in:
1 parent
1f3323def0
commit
427e7d8766
4 files changed
+168
-134
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user