Skip to content

feat: 1TFLOPs Matmul + autograd ops #7

feat: 1TFLOPs Matmul + autograd ops

feat: 1TFLOPs Matmul + autograd ops #7

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: Install Vulkan dependencies
run: |
sudo apt-get update
sudo apt-get install -y libvulkan1 mesa-vulkan-drivers vulkan-tools
sudo apt-get install -y libglib2.0-0 libnss3 libnspr4 libatk1.0-0 libatk-bridge2.0-0 libcups2 libdbus-1-3 libxcomposite1 libxdamage1 libpango-1.0-0 libcairo2 libasound2 libatspi2.0-0
- name: Generate package-lock.json
run: npm install --package-lock-only
- name: Install dependencies
run: npm ci
- name: Install Playwright Chromium
run: npx playwright install chromium
- name: Run integration tests
run: xvfb-run --auto-servernum npm run integration
- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30