Skip to content

Another disputed string for CVE-2023-39017 (#187) #712

Another disputed string for CVE-2023-39017 (#187)

Another disputed string for CVE-2023-39017 (#187) #712

Workflow file for this run

name: Python matrix CI
on:
push:
paths-ignore:
- '**/README.md'
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev]"
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --statistics
- name: Test with pytest
run: |
pytest --cov=vdb test
env:
PYTHONPATH: .
- name: Test without orjson
run: |
pip uninstall -y orjson
pytest --cov=vdb test