Skip to content

Commit

Permalink
(#157) correcao
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriqueAmorim20 committed Nov 1, 2023
1 parent ea94123 commit eb2dd0b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
types: [opened, synchronize, reopened]
jobs:
test-unit:
name: Test Unit
name: Test Unit & Scan
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -22,6 +22,12 @@ jobs:
env:
TEST: unit

- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

test-e2e:
name: Test E2E
runs-on: ubuntu-latest
Expand All @@ -39,8 +45,8 @@ jobs:
TEST: e2e

sonarcloud:
needs: ['test-unit', 'test-e2e']
name: SonarCloud
needs: ['test-unit', 'test-e2e']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit eb2dd0b

Please sign in to comment.