-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'devel' into rfix/allows-naming-conventions
- Loading branch information
Showing
785 changed files
with
36,524 additions
and
11,370 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
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
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
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
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
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
|
||
name: test common | ||
name: common | common | ||
|
||
on: | ||
pull_request: | ||
|
@@ -8,15 +7,21 @@ on: | |
- devel | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
RUNTIME__LOG_LEVEL: ERROR | ||
RUNTIME__DLTHUB_TELEMETRY_ENDPOINT: ${{ secrets.RUNTIME__DLTHUB_TELEMETRY_ENDPOINT }} | ||
|
||
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: | ||
|
@@ -49,6 +54,18 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install tzdata on windows | ||
run: | | ||
cd %USERPROFILE% | ||
curl https://data.iana.org/time-zones/releases/tzdata2021e.tar.gz --output tzdata.tar.gz | ||
mkdir tzdata | ||
tar --extract --file tzdata.tar.gz --directory tzdata | ||
mkdir %USERPROFILE%\Downloads\tzdata | ||
copy tzdata %USERPROFILE%\Downloads\tzdata | ||
curl https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml --output %USERPROFILE%\Downloads\tzdata\windowsZones.xml | ||
if: runner.os == 'Windows' | ||
shell: cmd | ||
|
||
- name: Install Poetry | ||
# https://github.com/snok/install-poetry#running-on-windows | ||
uses: snok/[email protected] | ||
|
@@ -87,11 +104,24 @@ jobs: | |
if: runner.os != 'Windows' | ||
name: Run pipeline smoke tests with minimum deps Linux/MAC | ||
- run: | | ||
poetry run pytest tests/pipeline/test_pipeline.py tests/pipeline/test_import_export_schema.py | ||
poetry run pytest tests/pipeline/test_pipeline.py tests/pipeline/test_import_export_schema.py -m "not forked" | ||
if: runner.os == 'Windows' | ||
name: Run smoke tests with minimum deps Windows | ||
shell: cmd | ||
- name: Install pyarrow | ||
run: poetry install --no-interaction -E duckdb -E cli -E parquet --with sentry-sdk | ||
|
||
- run: | | ||
poetry run pytest tests/pipeline/test_pipeline_extra.py -k arrow | ||
if: runner.os != 'Windows' | ||
name: Run pipeline tests with pyarrow but no pandas installed | ||
- run: | | ||
poetry run pytest tests/pipeline/test_pipeline_extra.py -k arrow -m "not forked" | ||
if: runner.os == 'Windows' | ||
name: Run pipeline tests with pyarrow but no pandas installed Windows | ||
shell: cmd | ||
- name: Install pipeline dependencies | ||
run: poetry install --no-interaction -E duckdb -E cli -E parquet --with sentry-sdk --with pipeline | ||
|
||
|
@@ -100,7 +130,7 @@ jobs: | |
if: runner.os != 'Windows' | ||
name: Run extract and pipeline tests Linux/MAC | ||
- run: | | ||
poetry run pytest tests/extract tests/pipeline tests/libs tests/cli/common tests/destinations | ||
poetry run pytest tests/extract tests/pipeline tests/libs tests/cli/common tests/destinations -m "not forked" | ||
if: runner.os == 'Windows' | ||
name: Run extract tests Windows | ||
shell: cmd | ||
|
@@ -119,7 +149,7 @@ jobs: | |
# shell: cmd | ||
|
||
matrix_job_required_check: | ||
name: Common tests | ||
name: common | common tests | ||
needs: run_common | ||
runs-on: ubuntu-latest | ||
if: always() | ||
|
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
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
Oops, something went wrong.