Skip to content

Commit

Permalink
Add k8s as temporal Poetry pytest dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
BAntonellini committed Nov 17, 2023
1 parent 2acc664 commit 94dd731
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
16 changes: 6 additions & 10 deletions tests/generate_dags_cases/input/basic_dag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@ default_args:
catchup: false
custom_callbacks:
on_success_callback:
module: callbacks.slack_messages
callable: inform_success
module: time
callable: sleep
args:
connection_id: DATACOVES_SLACK
message: Custom YML success message
color: 0000FF
secs: 1
on_failure_callback:
module: callbacks.slack_messages
callable: inform_failure
module: time
callable: sleep
args:
connection_id: DATACOVES_SLACK
message: Custom YML error message
color: 9900FF
secs: 1
nodes:
transform:
type: task
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ allowlist_externals =
echo
pytest
commands =
poetry add apache-airflow
poetry add apache-airflow kubernetes
poetry run pytest --cov-report=xml:coverage-reports/dbt110-coverage.xml --cov-report term-missing --cov=dbt_coves tests/
coverage report -m
poetry remove apache-airflow
poetry remove apache-airflow kubernetes

[testenv:dbt160]
passenv = *
Expand All @@ -42,10 +42,10 @@ allowlist_externals =
echo
pytest
commands =
poetry add apache-airflow
poetry add apache-airflow kubernetes
poetry run pytest --cov-report=xml:coverage-reports/coverage.xml --cov-report term-missing --cov=dbt_coves tests/
coverage report -m
poetry remove apache-airflow
poetry remove apache-airflow kubernetes

[gh-actions]
python =
Expand Down

0 comments on commit 94dd731

Please sign in to comment.