Skip to content

Merge branch 'main' of https://github.com/nineteendo/json0 #313

Merge branch 'main' of https://github.com/nineteendo/json0

Merge branch 'main' of https://github.com/nineteendo/json0 #313

Workflow file for this run

name: pytest
on:
push:
paths: src/**
pull_request:
paths: src/**
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
cache: pip
- name: Build package
run: |
python -m pip install --upgrade pip
pip install -v .
- name: Install test dependencies
run: pip install -r .github/workflows/requirements.txt
- name: Test with pytest
run: pytest -x --runxfail