Skip to content

Commit

Permalink
unify naming a bit more
Browse files Browse the repository at this point in the history
  • Loading branch information
sh-rp committed Mar 28, 2024
1 parent 053ea3a commit 7851ec2
Show file tree
Hide file tree
Showing 18 changed files with 51 additions and 34 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/get_docs_changes.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: util | get docs changes
name: util | get docs changes

on:
workflow_call:
Expand All @@ -13,6 +13,7 @@ env:

jobs:
get_docs_changes:
name: docs changes
runs-on: ubuntu-latest
outputs:
changes_outside_docs: ${{ steps.check_changes.outputs.changes_outside_docs }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: lint | lint code and tests
name: lint | code & tests

on:
pull_request:
Expand All @@ -14,10 +14,11 @@ concurrency:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml

run_lint:
name: Lint
name: lint
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
strategy:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_airflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: tools | test airflow integration
name: tools | airflow

on:
pull_request:
Expand All @@ -13,10 +13,11 @@ concurrency:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml

run_airflow:
name: Tests Airflow integration
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_build_images.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: tools | test build docker images
name: tools | docker images

on:
pull_request:
Expand All @@ -13,10 +13,11 @@ concurrency:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml

run_airflow:
name: Build alpine and airflow images
name: build
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_common.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: common | test common
name: common | common

on:
pull_request:
Expand All @@ -16,10 +16,11 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml

run_common:
name: Tests common dlt code
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
strategy:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_dbt_cloud.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: tools | test dbt cloud
name: tools | dbt cloud

on:
pull_request:
Expand All @@ -22,11 +22,12 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
if: ${{ !github.event.pull_request.head.repo.fork }}

run_dbt_cloud:
name: Tests dbt cloud
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_dbt_runner.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: tools | test dbt runner
name: tools | dbt runner

on:
pull_request:
Expand All @@ -19,11 +19,12 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
if: ${{ !github.event.pull_request.head.repo.fork }}

run_dbt:
name: Tests dbt runner
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_destination_athena.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: destinations | test athena
name: dest | athena

on:
pull_request:
Expand All @@ -24,12 +24,13 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
# Tests that require credentials do not run in forks
if: ${{ !github.event.pull_request.head.repo.fork }}

run_loader:
name: test destination athena
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_destination_athena_iceberg.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: destinations | test athena iceberg
name: dest | athena iceberg

on:
pull_request:
Expand All @@ -24,12 +24,13 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
# Tests that require credentials do not run in forks
if: ${{ !github.event.pull_request.head.repo.fork }}

run_loader:
name: test destination athena iceberg
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_destination_bigquery.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: destinations | test bigquery
name: dest | bigquery

on:
pull_request:
Expand All @@ -23,11 +23,12 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
if: ${{ !github.event.pull_request.head.repo.fork }}

run_loader:
name: Tests BigQuery loader
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_destination_databricks.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: destinations | test databricks
name: dest | databricks

on:
pull_request:
Expand All @@ -23,11 +23,12 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
if: ${{ !github.event.pull_request.head.repo.fork }}

run_loader:
name: Tests Databricks loader
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_destination_mssql.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: destinations | test MS SQL
name: dest | mssql

on:
pull_request:
Expand All @@ -24,11 +24,12 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
if: ${{ !github.event.pull_request.head.repo.fork }}

run_loader:
name: Tests MS SQL loader
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_destination_qdrant.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: destinations | test Qdrant
name: dest | qdrant

on:
pull_request:
Expand All @@ -22,11 +22,12 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
if: ${{ !github.event.pull_request.head.repo.fork }}

run_loader:
name: Tests Qdrant loader
name: test ß
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_destination_snowflake.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: destinations | test snowflake
name: dest | snowflake

on:
pull_request:
Expand All @@ -23,11 +23,12 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
if: ${{ !github.event.pull_request.head.repo.fork }}

run_loader:
name: Tests Snowflake loader
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_destination_synapse.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: destinations | test synapse
name: dest | synapse

on:
pull_request:
Expand All @@ -22,11 +22,12 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
if: ${{ !github.event.pull_request.head.repo.fork }}

run_loader:
name: Tests Synapse loader
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
defaults:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_destinations.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

name: destinations | test redshift, postgres and filesystem buckets
name: dest | redshift, postgres and fs

on:
pull_request:
Expand Down Expand Up @@ -30,12 +30,13 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml
# Tests that require credentials do not run in forks
if: ${{ !github.event.pull_request.head.repo.fork }}

run_loader:
name: test destinations redshift, postgres and filesystem
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_doc_snippets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ env:
jobs:

run_lint:
name: Runs linter and tests on docs snippets
name: lint
runs-on: ubuntu-latest

steps:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test_local_destinations.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Tests destinations that can run without credentials.
# i.e. local postgres, duckdb, filesystem (with local fs/memory bucket)

name: destinations | test local destinations
name: dest | postgres, duckdb and fs

on:
pull_request:
Expand All @@ -25,10 +25,11 @@ env:

jobs:
get_docs_changes:
name: docs changes
uses: ./.github/workflows/get_docs_changes.yml

run_loader:
name: test destinations postgres, duckdb and filesystem
name: test
needs: get_docs_changes
if: needs.get_docs_changes.outputs.changes_outside_docs == 'true'
strategy:
Expand Down

0 comments on commit 7851ec2

Please sign in to comment.