Fix approx bounds #145
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: SQL on Pandas and LocalDB on Windows | |
on: | |
pull_request: | |
paths: | |
- 'sql/tests/**' | |
- 'sql/snsql/**' | |
- 'sql/pyproject.toml' | |
- '!sql/tests/setup/postgres/**' | |
- '!sql/tests/setup/sqlserver/**' | |
- '!sql/tests/setup/mysql/**' | |
- '!sql/tests/setup/biqquery/**' | |
workflow_dispatch: | |
jobs: | |
windows-localdb: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install smartnoise-sql | |
shell: cmd | |
run: | | |
cd sql | |
pip install --no-cache-dir -r tests\requirements.txt | |
pip install --no-cache-dir . | |
- name: install sqlserver dependencies | |
shell: cmd | |
run: | | |
cd sql | |
pip install --no-cache-dir -r tests\setup\sqlserver\requirements.txt | |
- name: download CSV files | |
shell: cmd | |
run: | | |
cd sql | |
python tests\check_databases.py | |
- name: copy connections-unit.yaml | |
shell: cmd | |
run: | | |
cd sql | |
mkdir %USERPROFILE%\.smartnoise | |
copy /Y tests\setup\sqlserver\connections-unit-localdb.yaml %USERPROFILE%\.smartnoise\connections-unit.yaml | |
- name: install databases in localdb | |
shell: cmd | |
run: | | |
SQLLocalDB info | |
cd sql\tests\setup\sqlserver\PUMS | |
.\install_localdb.cmd | |
- name: show what's installed | |
shell: cmd | |
run: | | |
cd sql | |
python tests\check_databases.py | |
- name: Unit tests | |
shell: cmd | |
run: | | |
cd sql | |
pytest tests |