Skip to content

feat: 1TFLOPs Matmul + autograd ops #3

feat: 1TFLOPs Matmul + autograd ops

feat: 1TFLOPs Matmul + autograd ops #3

Workflow file for this run

# .github/workflows/test.yml
name: Test
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
unit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Generate package-lock.json
run: npm install --package-lock-only
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm run unit
integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Generate package-lock.json
run: npm install --package-lock-only
- name: Install dependencies
run: npm ci
- name: Install Playwright browsers
run: npx playwright install --with-deps chromium
- name: Run integration tests
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run integration
env:
PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH: /usr/bin/google-chrome
PLAYWRIGHT_LAUNCH_OPTIONS: '{"args": ["--enable-unsafe-webgpu", "--enable-features=Vulkan,UseSkiaRenderer", "--enable-dawn-features=allow_unsafe_apis"]}'
- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30