From de1dceba3c9105203163cf37f22410f426f4efbd Mon Sep 17 00:00:00 2001 From: Augusto Date: Sat, 2 Mar 2024 13:22:12 +0100 Subject: [PATCH] Making release always to test e2e --- .github/workflows/release.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 853033bb..bc0e3363 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,8 @@ name: Deploy on release on: release: types: [published] + pull_request: + types: [opened, synchronize, reopened] jobs: unit-tests: @@ -20,11 +22,11 @@ jobs: - 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 }} +# - 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