Partly fix #1493: error message changed #1825
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: Tests for TPCH Queries | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
validate-queries: | |
strategy: | |
matrix: | |
python-version: ["3.12"] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
enable-cache: "true" | |
cache-suffix: ${{ matrix.python-version }} | |
cache-dependency-glob: "**requirements*.txt" | |
- name: install-reqs | |
run: uv pip install --upgrade -r requirements-dev.txt --system | |
- name: local-install | |
run: uv pip install -e . --system | |
- name: generate-data | |
run: cd tpch && python generate_data.py | |
- name: tpch-tests | |
run: cd tpch && pytest tests |