-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,52 +52,13 @@ jobs: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel: true | ||
|
||
browser_tests: | ||
name: Browser Tests | ||
runs-on: ${{ matrix.os }} | ||
timeout-minutes: 10 | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: | ||
- ubuntu-latest # Chrome, Firefox, Safari (TODO) | ||
# - windows-latest # Internet Explorer, Edge | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: "npm" | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Run tests | ||
run: npm run coverage:browser | ||
|
||
- name: Combine code coverage data into a single file | ||
shell: bash | ||
run: | | ||
ls -Rlh coverage/*/lcov.info | ||
cat coverage/*/lcov.info > ./coverage/lcov.info | ||
- name: Send code coverage results to Coveralls | ||
uses: coverallsapp/[email protected] | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel: true | ||
|
||
coverage: | ||
name: Code Coverage | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
needs: | ||
- node_tests | ||
# - browser_tests | ||
steps: | ||
- name: Let Coveralls know that all tests have finished | ||
uses: coverallsapp/[email protected] | ||
|
@@ -112,7 +73,6 @@ jobs: | |
timeout-minutes: 10 | ||
needs: | ||
- node_tests | ||
# - browser_tests | ||
|
||
steps: | ||
- name: Checkout source | ||
|