mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-21 03:00:35 +03:00
improve test workflow
This commit is contained in:
@@ -10,7 +10,7 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
name: Run Tests
|
name: OverlayScrollbars Tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repo
|
- name: Checkout Repo
|
||||||
@@ -25,12 +25,12 @@ jobs:
|
|||||||
run: npm run jest
|
run: npm run jest
|
||||||
- name: Run Playwright
|
- name: Run Playwright
|
||||||
run: xvfb-run npm run playwright
|
run: xvfb-run npm run playwright
|
||||||
- name: Upload coverage reports
|
- name: Upload Jest Coverage
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
flags: overlayscrollbars,unit
|
flags: overlayscrollbars,unit
|
||||||
files: "**/overlayscrollbars/**/jest/coverage*.json"
|
files: "**/overlayscrollbars/**/jest/coverage*.json"
|
||||||
- name: Upload coverage reports
|
- name: Upload Playwright Coverage
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
with:
|
with:
|
||||||
flags: overlayscrollbars,ui
|
flags: overlayscrollbars,ui
|
||||||
|
|||||||
Reference in New Issue
Block a user