Skip to content

Do not error out on malformed JSON #43

Do not error out on malformed JSON

Do not error out on malformed JSON #43

Workflow file for this run

name: Python
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff twine build
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint
run: |
ruff --output-format=github --select=E9,F63,F7,F82 --target-version=py39 .
ruff --output-format=github --target-version=py39 .
- name: Test
run: |
python -m unittest discover -s ./tests -p 'test_*.py'
- name: Package
run: |
python -m build
python -m twine check dist/*