Skip to content

fix: corrects JSON parse error with NOT_SET as a value #38

fix: corrects JSON parse error with NOT_SET as a value

fix: corrects JSON parse error with NOT_SET as a value #38

Workflow file for this run

name: Build
on:
push:
branches:
- "main" # I'm a god, I can push to main
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Run tests and collect coverage
run: |
poetry run pytest --cov=. --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}