Skip to content

Commit

Permalink
Set up Sauce Labs for unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Jan 17, 2024
1 parent bcbde22 commit 849bf9a
Show file tree
Hide file tree
Showing 5 changed files with 2,948 additions and 137 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
strategy:
fail-fast: false
matrix:
browser: [chromium, webkit, firefox]
browser: [firefox]

steps:
- name: Git checkout
Expand All @@ -53,9 +53,19 @@ jobs:
with:
node-version: 20

- uses: saucelabs/sauce-connect-action@v2
with:
tunnelName: github-action-tunnel
secrets:
username: ${{ secrets.SAUCE_ACCESS_KEY }}
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}

- run: npm ci
- run: npx playwright install --with-deps
- run: npm run lint
- run: npm run test:unit -w quill || npm run test:unit -w quill || npm run test:unit -w quill
env:
BROWSER: ${{ matrix.browser }}
PROVIDER: "Sauce Labs"
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
Loading

0 comments on commit 849bf9a

Please sign in to comment.