Skip to content

Commit

Permalink
Making release always to test e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
augustocristian committed Mar 2, 2024
1 parent da7ec84 commit de1dceb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Deploy on release
on:
release:
types: [published]
pull_request:
types: [opened, synchronize, reopened]

jobs:
unit-tests:
Expand All @@ -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
Expand Down

0 comments on commit de1dceb

Please sign in to comment.