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 3cc4c50 commit dcaea2a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,13 @@ jobs:
name: frontend-artifact
path: client/dist

- name: Set Chrome path
- name: Install Chrome dependencies
run: sudo apt-get install -y libnss3 libgconf-2-4

- name: Set up Chrome for Karma
run: |
sudo ln -sf /usr/bin/google-chrome-stable /usr/bin/google-chrome
export CHROME_BIN=/usr/bin/google-chrome
sudo ln -s /usr/bin/google-chrome /usr/bin/chromium-browser
sudo ln -s /usr/bin/google-chrome /usr/bin/chrome
- name: Run Tests for Resource Server
run: mvn -B test --file resource_server/pom.xml
Expand All @@ -113,7 +116,7 @@ jobs:
- name: Run Tests
run: |
cd client
npm run test
npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
- name: Upload Test Results
if: always()
Expand Down

0 comments on commit dcaea2a

Please sign in to comment.