From bdd781cb7c0176f211c948c4d3689fc408807829 Mon Sep 17 00:00:00 2001 From: DAQEM Date: Wed, 10 Jan 2024 23:35:56 +0100 Subject: [PATCH] changed username to lowercase --- .github/workflows/test_all.yml | 60 +++++++++++++++++----------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/test_all.yml b/.github/workflows/test_all.yml index 96fb38a..6c3a9b6 100644 --- a/.github/workflows/test_all.yml +++ b/.github/workflows/test_all.yml @@ -190,6 +190,35 @@ jobs: reporter: dotnet-trx fail-on-error: true + end-to-end-tests: + name: End to End Tests + runs-on: ubuntu-latest + needs: [integration-tests] + timeout-minutes: 60 + + strategy: + fail-fast: true + matrix: + service: [ 'netmon-admin-web-app', 'netmon-user-web-app' ] + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Docker Compose MySQL + run: docker-compose up -d --build netmon-mysql + + - name: Docker Compose + run: docker-compose up -d --build + + - name: Install dependencies + run: | + docker exec ${{matrix.service}} npm install vitest + docker exec ${{matrix.service}} npx playwright install --with-deps + + - name: Run Tests + run: docker exec ${{matrix.service}} npx playwright test + codeql: name: CodeQL runs-on: ubuntu-latest @@ -220,35 +249,6 @@ jobs: with: category: "/language:${{matrix.language}}" - end-to-end-tests: - name: End to End Tests - runs-on: ubuntu-latest - needs: [integration-tests] - timeout-minutes: 60 - - strategy: - fail-fast: true - matrix: - service: [ 'netmon-admin-web-app', 'netmon-user-web-app' ] - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Docker Compose MySQL - run: docker-compose up -d --build netmon-mysql - - - name: Docker Compose - run: docker-compose up -d --build - - - name: Install dependencies - run: | - docker exec ${{matrix.service}} npm install vitest - docker exec ${{matrix.service}} npx playwright install --with-deps - - - name: Run Tests - run: docker exec ${{matrix.service}} npx playwright test - deploy: name: Deploy Docker Images runs-on: ubuntu-latest @@ -259,7 +259,7 @@ jobs: - name: Log into Docker Hub uses: docker/login-action@v2 with: - username: DAQEM + username: daqem password: ${{ secrets.DOCKER_HUB_PASSWORD }} - name: Deploy Images run: docker-compose push