Skip to content

chore(ci): drop tox #2011

chore(ci): drop tox

chore(ci): drop tox #2011

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: [3.8, 3.13]
container:
image: python:${{ matrix.python-version }}-bookworm
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update
apt-get install -y --no-install-recommends gettext make
- name: Install nox
run: pip install nox
- name: Run tests
run: nox -x --session "test-${{ matrix.python-version }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
docs:
if: ${{ matrix.python-version == '3.13' }}

Check failure on line 31 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 31, Col: 9): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.python-version == '3.13' .github/workflows/ci.yml (Line: 47, Col: 9): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.python-version == '3.13'
runs-on: ubuntu-22.04
needs: []
strategy:
matrix:
python-version: [3.13]
container:
image: python:3.13-bookworm
steps:
- uses: actions/checkout@v4
- name: Install nox
run: pip install nox
- name: Build docs
run: nox -x --session "docs"
lint:
if: ${{ matrix.python-version == '3.13' }}
runs-on: ubuntu-22.04
needs: []
strategy:
matrix:
python-version: [3.13]
container:
image: python:3.13-bookworm
steps:
- uses: actions/checkout@v4
- name: Install nox
run: pip install nox
- name: Run linter
run: nox -x -t lint
standardjs:
if: ${{ matrix.python-version == '3.13' }}
runs-on: ubuntu-24.04
needs: []
strategy:
matrix:
python-version: [3.13]
container:
image: node:22-bookworm
steps:
- uses: actions/checkout@v4
- name: Install standardjs dependencies
run: make ci-install-standardjs
- name: Run standardjs
run: make standardjs