Support JSON docs with (lists of) booleans #65
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint_Test | |
on: [push, pull_request] | |
jobs: | |
lint: | |
name: Linting | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.7] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
# Update PIP | |
- name: Update pip | |
run: | | |
python -m pip install --upgrade pip | |
- name: Install project dependencies | |
run: | | |
pip install .[dev] | |
- name: Lint | |
run: | | |
black --check . | |
flake8 py_partiql_parser/ | |
test: | |
name: Unit test | |
runs-on: ubuntu-latest | |
needs: lint | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Update pip | |
run: | | |
python -m pip install --upgrade pip | |
- name: Install project dependencies | |
run: | | |
pip install .[dev] | |
- name: Test with pytest | |
run: | | |
pytest tests |