-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (33 loc) · 1.27 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 scripts/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