Skip to content

Commit

Permalink
Reverts CI debugging
Browse files Browse the repository at this point in the history
This reverts commit 4f6ca2d.
  • Loading branch information
willi-mueller committed Aug 30, 2024
1 parent 8f74601 commit ca11ca4
Show file tree
Hide file tree
Showing 20 changed files with 90 additions and 127 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: lint | code & tests

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:

concurrency:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_airflow.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: tools | airflow

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:

concurrency:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_build_images.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: tools | docker images

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:

concurrency:
Expand Down
61 changes: 10 additions & 51 deletions .github/workflows/test_common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"] #, "macos-latest", "windows-latest"]
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
python-version: ["3.11.x"]
# Test all python versions on ubuntu only
# include:
# - python-version: "3.8.x"
# os: "ubuntu-latest"
# - python-version: "3.9.x"
# os: "ubuntu-latest"
# - python-version: "3.10.x"
# os: "ubuntu-latest"
# - python-version: "3.12.x"
# os: "ubuntu-latest"
include:
- python-version: "3.8.x"
os: "ubuntu-latest"
- python-version: "3.9.x"
os: "ubuntu-latest"
- python-version: "3.10.x"
os: "ubuntu-latest"
- python-version: "3.12.x"
os: "ubuntu-latest"

defaults:
run:
Expand Down Expand Up @@ -90,47 +90,6 @@ jobs:
- name: create secrets.toml
run: pwd && echo "$DLT_SECRETS_TOML" > tests/.dlt/secrets.toml

- name: debug credentials
run: |
echo "First chars: ${DLT_SECRETS_TOML:0:5}"
substring="dbt"
if echo "$DLT_SECRETS_TOML" | grep -q "$substring"; then
echo "Substring found: $substring"
result=$(echo "$DLT_SECRETS_TOML" | sed -n "s/.*$substring\(.\{0,10\}\).*/\1/p")
echo "First characters after the substring: $result"
else
echo "Substring $substring not found"
fi
substring="ghp_KZC"
if echo "$DLT_SECRETS_TOML" | grep -q "$substring"; then
echo "substring found: $substring"
result=$(echo "$DLT_SECRETS_TOML" | sed -n "s/.*$substring\(.\{0,21\}\).*/\1/p")
echo "First characters after the substring: $result"
else
echo "Substring $substring not found"
fi
substring="sources.rest_api_pipeline.github"
if echo "$DLT_SECRETS_TOML" | grep -q "$substring"; then
echo "substring found: $substring"
result=$(echo "$DLT_SECRETS_TOML" | sed -n "s/.*$substring\(.\{0,21\}\).*/\1/p")
echo "First characters after the substring: $result"
else
echo "Substring $substring not found"
fi
SECRETS_FILE=$(cat tests/.dlt/secrets.toml)
substring="sources.rest_api_pipeline.github"
if echo "$SECRETS_FILE" | grep -q "$substring"; then
echo "substring found: $substring"
result=$(echo "$SECRETS_FILE" | sed -n "s/.*$substring\(.\{0,21\}\).*/\1/p")
echo "First characters after the substring: $result"
else
echo "Substring $substring not found"
fi
- run: |
poetry run pytest tests/common tests/normalize tests/reflection tests/load/test_dummy_client.py tests/extract/test_extract.py tests/extract/test_sources.py tests/pipeline/test_pipeline_state.py
if: runner.os != 'Windows'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_dbt_runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: tools | dbt runner

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:

concurrency:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_destination_athena.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: dest | athena

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_destination_athena_iceberg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: dest | athena iceberg

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_destination_bigquery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: dest | bigquery

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test_destination_clickhouse.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: test | clickhouse

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down Expand Up @@ -113,3 +113,4 @@ jobs:
poetry run pytest tests/load
name: Run all tests Linux (ClickHouse Cloud)
if: ${{ contains(github.event.pull_request.labels.*.name, 'ci full') || github.event_name == 'schedule'}}
8 changes: 4 additions & 4 deletions .github/workflows/test_destination_databricks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: dest | databricks

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_destination_dremio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: test | dremio

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_destination_lancedb.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: dest | lancedb

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_destination_motherduck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: dest | motherduck

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_destination_mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: dest | mssql

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_destination_snowflake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: dest | snowflake

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_destination_synapse.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: dest | synapse

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_destinations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: dest | redshift, postgres and fs

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/test_doc_snippets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: docs | snippets & examples

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -96,3 +96,6 @@ jobs:

- name: Run linter and tests on snippets
run: make lint-and-test-snippets



8 changes: 4 additions & 4 deletions .github/workflows/test_local_destinations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
name: dest | postgres, duckdb and fs

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:

concurrency:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_pyarrow17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: tests marked as needspyarrow17

on:
# pull_request:
# branches:
# - master
# - devel
pull_request:
branches:
- master
- devel
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
Expand Down

0 comments on commit ca11ca4

Please sign in to comment.