-
Notifications
You must be signed in to change notification settings - Fork 185
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
2 changed files
with
12 additions
and
10 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 |
---|---|---|
|
@@ -52,6 +52,17 @@ 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 | ||
move 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] | ||
|
@@ -111,16 +122,6 @@ jobs: | |
- name: Install pipeline dependencies | ||
run: poetry install --no-interaction -E duckdb -E cli -E parquet --with sentry-sdk --with pipeline | ||
|
||
- name: Install tzdata on windows | ||
run: | | ||
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 | ||
move 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 | ||
|
||
- run: | | ||
poetry run pytest tests/extract tests/pipeline tests/libs tests/cli/common tests/destinations | ||
if: runner.os != 'Windows' | ||
|
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