Skip to content

Initial implementation of Locale framework, with updates to asyncLoad to handle json files, and updates to testsuite. #413

Initial implementation of Locale framework, with updates to asyncLoad to handle json files, and updates to testsuite.

Initial implementation of Locale framework, with updates to asyncLoad to handle json files, and updates to testsuite. #413

Workflow file for this run

name: Tests
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
testing:
runs-on: ubuntu-latest
name: Compile and test MathJax
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 24
cache: 'pnpm'
- name: Install packages
run: |
pnpm -r i
pnpm -s link:src
- name: Compile MathJax
run: |
pnpm -s mjs:compile
pnpm -s copy:assets mjs
components/bin/makeAll --mjs --terse --build --copy components/mjs
pnpm -s cjs:compile
pnpm -s cjs:components:src:build
pnpm -s copy:assets cjs
components/bin/makeAll --cjs --terse --build --copy components/cjs
pnpm -s copy:pkg cjs
- name: Build tests
run: pnpm tsc -p testsuite/tsconfig.json
- name: Run tests
run: pnpm -s test:gh
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: mathjax/MathJax-src