Skip to content

Fixed review finding #281

Fixed review finding

Fixed review finding #281

Workflow file for this run

name: CI
on:
push:
jobs:
integration_tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11']
steps:
- uses: actions/checkout@v4
- name: Get ODBC driver
id: get-odbc-driver
run: |
FILE=$(bash .github/workflows/scripts/download_odbc_driver.sh "$(pwd)/..")
echo so-file="$FILE" >> "$GITHUB_OUTPUT"
- name: Get EXAPLUS
run: bash .github/workflows/scripts/download_exaplus.sh "$(pwd)/.."
- name: Setup Python & Poetry Environment
uses: exasol/python-toolbox/.github/actions/python-environment@0.12.0
with:
python-version: ${{ matrix.python-version }}
poetry-version: '1.8.2'
- name: Spawn EXASOL environemnt
run: |
poetry run python3 -m exasol_integration_test_docker_environment.main \
spawn-test-environment \
--environment-name test \
--database-port-forward 8888 \
--bucketfs-port-forward 6666
sleep 120 # wait for SLC to be unpacked
- name: Run all tests
run: |
poetry run scripts/test/run_locally.sh \
--server "localhost:8888" \
--odbc-driver="${{ steps.get-odbc-driver.outputs.so-file }}"
env:
EXAPLUS: ../downloads/EXAPLUS
TEST_DOCKER_NETWORK_NAME: db_network_test
TEST_ENVIRONMENT_NAME: test