mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-24 09:23:46 +00:00
CI: add unit test and stress test steps to GitHub Actions
Split the Test step into separate "Unit tests" (ctest) and "Stress test" (stress_test.py with 10MB transfer across all AEAD ciphers) steps for better visibility. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
238b93cad4
commit
a0f51523ce
@@ -34,7 +34,11 @@ jobs:
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_STATIC=OFF
|
||||
make -j$(nproc 2>/dev/null || sysctl -n hw.ncpu)
|
||||
|
||||
- name: Test
|
||||
- name: Unit tests
|
||||
run: |
|
||||
cd build
|
||||
ctest --output-on-failure
|
||||
|
||||
- name: Stress test
|
||||
run: |
|
||||
python3 tests/stress_test.py --bin build/shared/bin/ --size 10
|
||||
|
||||
Reference in New Issue
Block a user