-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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:[email protected]: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:[email protected]:3306/dlt_data # Use root cause we need to create databases | ||
DESTINATION__SQLALCHEMY_SQLITE__CREDENTIALS: sqlite:///_storage/dl_data.sqlite |