From f372866a772be0497f375486a50c1af64d79faf2 Mon Sep 17 00:00:00 2001 From: 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 Date: Mon, 11 Mar 2024 12:07:28 +0100 Subject: [PATCH] tests disabled temporally --- .github/workflows/release.yml | 68 +++++++++++++++++------------------ 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b8e5737..0bda143 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,40 +5,40 @@ on: types: [published] jobs: - unit-tests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - - run: npm --prefix users/authservice ci - - run: npm --prefix users/userservice ci - - run: npm --prefix gatewayservice ci - - run: npm --prefix webapp ci - - run: npm --prefix users/authservice test -- --coverage - - run: npm --prefix users/userservice test -- --coverage - - run: npm --prefix gatewayservice test -- --coverage - - run: npm --prefix webapp test -- --coverage - - name: Analyze with SonarCloud - uses: sonarsource/sonarcloud-github-action@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - e2e-tests: - needs: [unit-tests] - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - - run: npm --prefix users/authservice install - - run: npm --prefix users/userservice install - - run: npm --prefix gatewayservice install - - run: npm --prefix webapp install - - run: npm --prefix webapp run build - - run: npm --prefix webapp run test:e2e + # unit-tests: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: actions/setup-node@v4 + # with: + # node-version: 20 + # - run: npm --prefix users/authservice ci + # - run: npm --prefix users/userservice ci + # - run: npm --prefix gatewayservice ci + # - run: npm --prefix webapp ci + # - run: npm --prefix users/authservice test -- --coverage + # - run: npm --prefix users/userservice test -- --coverage + # - run: npm --prefix gatewayservice test -- --coverage + # - run: npm --prefix webapp test -- --coverage + # - name: Analyze with SonarCloud + # uses: sonarsource/sonarcloud-github-action@master + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + # e2e-tests: + # needs: [unit-tests] + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - uses: actions/setup-node@v4 + # with: + # node-version: 20 + # - run: npm --prefix users/authservice install + # - run: npm --prefix users/userservice install + # - run: npm --prefix gatewayservice install + # - run: npm --prefix webapp install + # - run: npm --prefix webapp run build + # - run: npm --prefix webapp run test:e2e docker-push-webapp: name: Push webapp Docker Image to GitHub Packages runs-on: ARM64