Skip to content

Commit

Permalink
Merge pull request #20 from fga-eps-mds/correcao-workflows
Browse files Browse the repository at this point in the history
corrige workflows
  • Loading branch information
HenriqueAmorim20 authored Nov 7, 2023
2 parents 3adf84c + 93d0424 commit 7693d80
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 63 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

test-e2e:
Expand All @@ -43,15 +43,3 @@ jobs:
docker-compose -f docker-compose.test.yml up -V --force-recreate --build --abort-on-container-exit --exit-code-from gerocuidado-usuario-api-test
env:
TEST: e2e
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
44 changes: 0 additions & 44 deletions .github/workflows/check.yml

This file was deleted.

29 changes: 23 additions & 6 deletions e2e/jest-e2e.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"moduleFileExtensions": ["ts", "tsx", "js", "json"],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
Expand All @@ -11,10 +16,22 @@
"!**/node_modules/**",
"!**/vendor/**",
"!src/**/main.{js,jsx,tsx,ts}",
"!src/**/ormconfig.{js,jsx,tsx,ts}"
"!src/**/migrations.{js,jsx,tsx,ts}",
"!src/**/ormconfig.{js,jsx,tsx,ts}",
"!src/migration/**",
"!src/shared/**",
"!src/config/**"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/src/"
],
"coverageReporters": [
"json",
"lcov"
],
"testPathIgnorePatterns": ["/node_modules/", "/src/"],
"coverageReporters": ["json", "lcov"],
"testEnvironment": "node",
"coveragePathIgnorePatterns": [".spec.ts$"]
}
"coveragePathIgnorePatterns": [
".spec.ts$"
]
}

0 comments on commit 7693d80

Please sign in to comment.