Skip to content

V3 2nd attempt

V3 2nd attempt #370

Workflow file for this run

name: tests
on:
push:
branches:
- main
- v2
pull_request:
env:
FORCE_COLOR: true
NODE: 22.14
PYTHON: 3.14
jobs:
syntax-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"
cache: npm
- name: Install npm dependencies
run: npm ci
- uses: actions/setup-python@v5
with:
python-version: "${{ env.PYTHON }}"
cache: pip
- name: Install python package dev dependencies
run: |
pip install tox
pip install .[dev]
- name: Check syntax compliance
run: pre-commit run --all-files --show-diff-on-failure
python313:
runs-on: ubuntu-latest
strategy:
matrix:
django: ["5.0", "5.1", "5.2"]
steps:
- uses: actions/checkout@v4
- name: Python setup
uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: pip
- name: Install tox and django
run: pip install tox "django==${{ matrix.django }}"
- name: Run unit tests
run: tox -e py3.13-django${{ matrix.django }}
python314:
runs-on: ubuntu-latest
strategy:
matrix:
django: ["6.0"]
steps:
- uses: actions/checkout@v4
- name: Python setup
uses: actions/setup-python@v5
with:
python-version: "3.14"
cache: pip
- name: Install tox and django
run: pip install tox "django==${{ matrix.django }}"
- name: Run unit tests
run: tox -e py3.14-django${{ matrix.django }}
javascript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE }}"
cache: npm
- run: npm ci
- run: npm test