Skip to content

Move running lint to GHA workflow #14

Move running lint to GHA workflow

Move running lint to GHA workflow #14

Workflow file for this run

name: Test python-json-logger
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: "Python ${{matrix.python-version}} ${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
strategy:
matrix:
python-version:
- "pypy-3.7"
- "pypy-3.8"
- "pypy-3.9"
- "pypy-3.10"
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
os:
- ubuntu-latest
- windows-latest
- macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox tox-gh-actions
- name: Test with tox
run: tox
- name: Lint with tox
run: tox -e lint
if: "${{ matrix.python-version == '3.12' && matris.os == 'ubuntu-latest' }}"

Check failure on line 51 in .github/workflows/test-suite.yml

View workflow run for this annotation

GitHub Actions / Test python-json-logger

Invalid workflow file

The workflow is not valid. .github/workflows/test-suite.yml (Line: 51, Col: 13): Unrecognized named-value: 'matris'. Located at position 36 within expression: matrix.python-version == '3.12' && matris.os == 'ubuntu-latest'