Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Karma #7238

Merged
merged 8 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 2 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ jobs:
- name: Compile TypeScript declarations
run: npm run test:types

unit-test-node:
name: Unit Test (Node)
unit-test:
name: Unit Test
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand All @@ -127,32 +127,6 @@ jobs:
- name: Run unit tests
run: npm test

unit-test-karma:
name: Unit Test (Karma)
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
cache: 'npm'

- name: Install dependencies
run: npm clean-install --progress=false --no-fund

- name: Build PlayCanvas (UMD-only)
run: npm run build:umd

- name: Install X virtual framebuffer
run: sudo apt-get install xvfb

- name: Run unit tests
run: xvfb-run --auto-servernum npm run test:karma

build-examples:
name: Build Examples Browser
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export default [
},
{
ignores: [
'tests/**/*',
'examples/lib/*',
'scripts/textmesh/*.min.js',
'src/polyfill/*',
Expand Down
Loading
Loading