31 lines
709 B
YAML
31 lines
709 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
python-version: ["3.10", "3.12", "3.14"]
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
cache: pip
|
|
- run: python -m pip install -r requirements.txt pytest
|
|
- run: python -m compileall -q .
|
|
- run: pytest -q
|
|
- run: node --input-type=module --check < web/visualization.js
|
|
- run: node --check web/js/threeVisualizer.mjs
|
|
- run: node --check web/vendor/GLTFLoader.mjs
|