1. simplified CI + Release workflow #239
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: CI | |
on: | |
push: | |
jobs: | |
integration_tests: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ['3.10', '3.11', '3.12'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Get ODBC driver | |
run: | | |
bash .github/workflows/scripts/download_odbc_driver.sh "$(pwd)/.." | |
- 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 scropts/test/run_locally.sh --server "localhost:8888" --odbc-driver="../downloads/ODBC/lib/linux/x86_64/libexaodbc-uo2214lv2.so" | |
env: | |
EXAPLUS: ../downloads/EXAPLUS | |
TEST_DOCKER_NETWORK_NAME: db_network_test | |
TEST_ENVIRONMENT_NAME: test | |