🔒 Optimize stability and performance testing
This commit is contained in:
8
.github/workflows/stability-tests.yml
vendored
8
.github/workflows/stability-tests.yml
vendored
@@ -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