Update conftest.py #10
This file contains hidden or 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: Dremio Integration Tests | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| services: | |
| dremio: | |
| image: dremio/dremio-oss:latest | |
| env: | |
| DREMIO_JAVA_EXTRA_OPTS: "-Ddebug.addDefaultUser=true" | |
| ports: | |
| - 9047:9047 | |
| - 31010:31010 | |
| - 32010:32010 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python 3.14 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.13 | |
| - name: Install dependencies | |
| run: | | |
| pip install -r requirements_dev.txt | |
| - name: Wait for Dremio | |
| run: | | |
| for i in {1..60}; do | |
| curl -f http://localhost:9047/ || true | |
| if [ $? -eq 0 ]; then break; fi | |
| sleep 5 | |
| done | |
| - name: Install dialect | |
| run: pip install -e . | |
| - name: Run tests | |
| env: | |
| DREMIO_CONNECTION_URL: dremio+flight://dremio:dremio123@localhost:32010/dremio?UseEncryption=false | |
| run: | | |
| pytest |