Fix parsing query columns #1476
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: "Run unit tests" | |
on: | |
push: | |
paths-ignore: | |
- 'tests/**' | |
pull_request: | |
paths-ignore: | |
- 'tests/**' | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
python-version: ['3.12'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
architecture: x64 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
python -m pip install coverage==7.6.7 | |
- name: Run unit tests | |
run: | | |
cd unit-tests | |
export PYTHONPATH=$(cd ../util ; pwd):$PYTHONPATH | |
coverage run --omit=test_*.py,unit_tests.py -m unittest unit_tests | |
- name: Report code coverage | |
run: | | |
cd unit-tests | |
coverage report |