ci-scripts: update Setup scripts step

pull/780/head
pabloFuente 2023-03-10 14:59:30 +01:00
parent c4599b7529
commit 77d562c7de
1 changed files with 8 additions and 6 deletions

View File

@ -60,8 +60,10 @@ jobs:
EDGE_VERSION: ${{ github.event.inputs.EDGE_VERSION || 'latest' }} EDGE_VERSION: ${{ github.event.inputs.EDGE_VERSION || 'latest' }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Download commons.sh script - name: Setup scripts
run: curl -s https://raw.githubusercontent.com/OpenVidu/openvidu/master/ci-scripts/commons.sh -o /opt/commons.sh && chmod u+x /opt/commons.sh run: |
curl -s https://raw.githubusercontent.com/OpenVidu/openvidu/master/ci-scripts/commons.sh -o /opt/commons.sh && chmod u+x /opt/commons.sh
cp ci-scripts/openvidu-e2e-tests.sh /opt/openvidu-e2e-tests.sh && chmod u+x /opt/openvidu-e2e-tests.sh
- name: Clean environment - name: Clean environment
run: /opt/commons.sh --clean-environment run: /opt/commons.sh --clean-environment
- name: Prepare test environment - name: Prepare test environment
@ -83,15 +85,15 @@ jobs:
- name: Build openvidu-server - name: Build openvidu-server
run: /opt/commons.sh --build-openvidu-server run: /opt/commons.sh --build-openvidu-server
- name: openvidu-server unit tests - name: openvidu-server unit tests
run: ci-scripts/openvidu-e2e-tests.sh --openvidu-server-unit-tests run: /opt/openvidu-e2e-tests.sh --openvidu-server-unit-tests
- name: openvidu-server integration tests - name: openvidu-server integration tests
run: ci-scripts/openvidu-e2e-tests.sh --openvidu-server-integration-tests run: /opt/openvidu-e2e-tests.sh --openvidu-server-integration-tests
- name: Environment launch Kurento - name: Environment launch Kurento
run: ci-scripts/openvidu-e2e-tests.sh --environment-launch-kurento run: /opt/openvidu-e2e-tests.sh --environment-launch-kurento
- name: Serve openvidu-testapp - name: Serve openvidu-testapp
run: /opt/commons.sh --serve-openvidu-testapp run: /opt/commons.sh --serve-openvidu-testapp
- name: OpenVidu E2E Tests Kurento - name: OpenVidu E2E Tests Kurento
run: ci-scripts/openvidu-e2e-tests.sh --openvidu-e2e-tests-kurento run: /opt/openvidu-e2e-tests.sh --openvidu-e2e-tests-kurento
- name: Test reports - name: Test reports
uses: mikepenz/action-junit-report@v3 uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails if: always() # always run even if the previous step fails