File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Loadtest Controller Unit And Integration Tests
2+
3+ on :
4+ push :
5+ paths :
6+ - ' loadtest-controller/**'
7+ workflow_dispatch :
8+
9+ jobs :
10+ unit-test :
11+ runs-on : ${{ vars.LABEL_WORKER_SELFHOSTED }}
12+ container :
13+ image : maven:3.9.14-eclipse-temurin-25-alpine
14+ options : --user root
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
19+ - name : Build and unit tests
20+ run : |
21+ cd loadtest-controller
22+ mvn clean test -Dtest='io.openvidu.loadtest.unit.*'
23+
24+ - name : Run integration tests
25+ run : |
26+ cd loadtest-controller
27+ mvn test -Dtest='io.openvidu.loadtest.integration.*'
28+
29+ cleanup :
30+ needs : unit-test
31+ if : ${{ always() }}
32+ runs-on : ${{ vars.LABEL_WORKER_SELFHOSTED }}
33+ steps :
34+ - name : Clean up
35+ uses : OpenVidu/actions/cleanup@35d136377813cf9b0b23d12d16d57864ccf3a8c2 # v1.0.2
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments