diff --git a/.github/workflows/test_sqlalchemy_destinations.yml b/.github/workflows/test_sqlalchemy_destinations.yml index 1b4c6aa087..d1a3b6e9e2 100644 --- a/.github/workflows/test_sqlalchemy_destinations.yml +++ b/.github/workflows/test_sqlalchemy_destinations.yml @@ -38,7 +38,7 @@ jobs: defaults: run: shell: bash - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-latest" # Service containers to run with `container-job` services: @@ -85,14 +85,12 @@ jobs: - name: Install dependencies run: poetry install --no-interaction -E parquet -E filesystem -E sqlalchemy -E cli --with sentry-sdk --with pipeline && poetry run pip install mysqlclient - - name: Check sqlite version - run: poetry run python -c "import sqlite3; print(sqlite3.sqlite_version)" - # - name: create secrets.toml - # run: pwd && echo "$DLT_SECRETS_TOML" > tests/.dlt/secrets.toml + - name: create secrets.toml + run: pwd && echo "$DLT_SECRETS_TOML" > tests/.dlt/secrets.toml - # # always run full suite, also on branches - # - run: poetry run pytest tests/load tests/cli -x - # name: Run tests Linux - # env: - # DESTINATION__SQLALCHEMY_MYSQL__CREDENTIALS: mysql://root:root@127.0.0.1:3306/dlt_data # Use root cause we need to create databases - # DESTINATION__SQLALCHEMY_SQLITE__CREDENTIALS: sqlite:///_storage/dl_data.sqlite + # always run full suite, also on branches + - run: poetry run pytest tests/load tests/cli -x + name: Run tests Linux + env: + DESTINATION__SQLALCHEMY_MYSQL__CREDENTIALS: mysql://root:root@127.0.0.1:3306/dlt_data # Use root cause we need to create databases + DESTINATION__SQLALCHEMY_SQLITE__CREDENTIALS: sqlite:///_storage/dl_data.sqlite