Skip to content

Commit

Permalink
test(SCOUT): [BLA-1014] Test should run in the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwapriya committed Jan 22, 2025
1 parent 87d05e5 commit 93df7d6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,24 @@ jobs:
./packages/**/node_modules
key: modules-${{ hashFiles('package-lock.json') }}

- name: Install Chromium dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
libnss3 \
libatk1.0-0 \
libx11-xcb1 \
libxcomposite1 \
libxdamage1 \
libxrandr2 \
libgbm1 \
libpangocairo-1.0-0 \
libgtk-3-0 \
libxcb-dri3-0
- name: Set environment variables
run: |
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=false
# - name: Install Chromium dependencies
# run: |
# sudo apt-get update
# sudo apt-get install -y \
# libnss3 \
# libatk1.0-0 \
# libx11-xcb1 \
# libxcomposite1 \
# libxdamage1 \
# libxrandr2 \
# libgbm1 \
# libpangocairo-1.0-0 \
# libgtk-3-0 \
# libxcb-dri3-0
#
# - name: Set environment variables
# run: |
# export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=false

- name: Install Dependencies
run: npm ci
Expand Down
3 changes: 3 additions & 0 deletions packages/core-components/stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,7 @@ export const config: Config = {
],
}),
],
testing: {
browserArgs: ['--no-sandbox', '--disable-setuid-sandbox'],
},
};

0 comments on commit 93df7d6

Please sign in to comment.