mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-01 06:18:35 +02:00
load tests added for preproduction
This commit is contained in:
parent
89af074a57
commit
56f5ad4ad0
9
.github/workflows/load-test.yml
vendored
9
.github/workflows/load-test.yml
vendored
@ -21,6 +21,12 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Ensure Report Directory Exists
|
||||
run: mkdir -p reports/html-report
|
||||
|
||||
- name: Cleanup Previous JMeter Reports
|
||||
run: rm -rf reports/html-report && mkdir -p reports/html-report
|
||||
|
||||
- name: Run JMeter Load Test
|
||||
uses: rbhadti94/apache-jmeter-action@v0.5.0
|
||||
with:
|
||||
@ -28,6 +34,9 @@ jobs:
|
||||
outputReportsFolder: reports/
|
||||
args: "-n -t tests/jmeter/gite-test-plan.jmx -l reports/results.jtl -e -o reports/html-report"
|
||||
|
||||
- name: Check JMeter Report Generation
|
||||
run: ls -la reports/html-report || echo "Report directory is empty"
|
||||
|
||||
- name: Upload JMeter Test Results
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user