Skip to content

Commit

Permalink
Impr: fixing run front end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoCunha-19 committed May 18, 2024
1 parent 7dd7966 commit fc2f729
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ jobs:
name: frontend-artifact
path: client/dist

- name: Set Chrome path
run: |
sudo ln -sf /usr/bin/google-chrome-stable /usr/bin/google-chrome
export CHROME_BIN=/usr/bin/google-chrome
- name: Run Tests for Resource Server
run: mvn -B test --file resource_server/pom.xml
- name: Run Tests for Authorization Server
Expand All @@ -108,6 +113,7 @@ jobs:
- name: Run Tests
run: |
cd client
export NODE_OPTIONS=--openssl-legacy-provider
npm run test
- name: Upload Test Results
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build --prod --aot --output-hashing=none",
"test": "ng test",
"test": "ng test --no-watch --code-coverage",
"lint": "ng lint client --fix",
"e2e": "ng e2e"
},
Expand Down

0 comments on commit fc2f729

Please sign in to comment.