Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/dbt-labs/dbt-bigquery into …
Browse files Browse the repository at this point in the history
…mcknight/cron-release
  • Loading branch information
McKnight-42 committed Jul 19, 2024
2 parents ad4d43b + 16a7dcb commit d2fd0b6
Show file tree
Hide file tree
Showing 12 changed files with 72 additions and 12 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20231211-001048.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Update pre-commit requirement from ~=3.5 to ~=3.7"
time: 2023-12-11T00:10:48.00000Z
custom:
Author: dependabot[bot]
PR: 1052
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20231220-002130.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Update freezegun requirement from ~=1.3 to ~=1.4"
time: 2023-12-20T00:21:30.00000Z
custom:
Author: dependabot[bot]
PR: 1062
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20231222-002351.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Bump mypy from 1.7.1 to 1.8.0"
time: 2023-12-22T00:23:51.00000Z
custom:
Author: dependabot[bot]
PR: 1064
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20240105-004800.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Update flake8 requirement from ~=6.1 to ~=7.0"
time: 2024-01-05T00:48:00.00000Z
custom:
Author: dependabot[bot]
PR: 1069
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20240429-005158.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Bump actions/download-artifact from 3 to 4"
time: 2024-04-29T00:51:58.00000Z
custom:
Author: dependabot[bot]
PR: 1209
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20240429-005159.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Bump actions/upload-artifact from 3 to 4"
time: 2024-04-29T00:51:59.00000Z
custom:
Author: dependabot[bot]
PR: 1210
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20240718-005755.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Update pre-commit-hooks requirement from ~=4.5 to ~=4.6"
time: 2024-07-18T00:57:55.00000Z
custom:
Author: dependabot[bot]
PR: 1281
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20240718-005756.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Update pytest-xdist requirement from ~=3.5 to ~=3.6"
time: 2024-07-18T00:57:56.00000Z
custom:
Author: dependabot[bot]
PR: 1282
6 changes: 6 additions & 0 deletions .changes/unreleased/Dependencies-20240718-005757.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: "Dependencies"
body: "Update flaky requirement from ~=3.7 to ~=3.8"
time: 2024-07-18T00:57:57.00000Z
custom:
Author: dependabot[bot]
PR: 1283
7 changes: 5 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ jobs:
- 'dbt/**'
- 'tests/**'
- 'dev-requirements.txt'
- '.github/**'
- name: Generate integration test matrix
id: generate-matrix
Expand Down Expand Up @@ -188,23 +189,25 @@ jobs:
GCS_BUCKET: dbt-ci
run: tox -- --ddtrace

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: logs
path: ./logs
overwrite: true

- name: Get current date
if: always()
id: date
run: |
echo "date=$(date +'%Y-%m-%dT%H_%M_%S')" >> $GITHUB_OUTPUT #no colons allowed for artifacts
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: integration_results_${{ matrix.python-version }}_${{ matrix.os }}_${{ matrix.adapter }}-${{ steps.date.outputs.date }}.csv
path: integration_results.csv
overwrite: true

# python integration tests are slow so we only run them seperately and for a single OS / python version
test-python:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,12 @@ jobs:
run: |
echo "date=$(date +'%Y-%m-%dT%H_%M_%S')" >> $GITHUB_OUTPUT #no colons allowed for artifacts
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: unit_results_${{ matrix.python-version }}-${{ steps.date.outputs.date }}.csv
path: unit_results.csv
overwrite: true

build:
name: build packages
Expand Down Expand Up @@ -156,10 +157,11 @@ jobs:
if [[ "$(ls -lh dist/)" == *"a1"* ]]; then export is_alpha=1; fi
echo "is_alpha=$is_alpha" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist/
overwrite: true

test-build:
name: verify packages / python ${{ matrix.python-version }} / ${{ matrix.os }}
Expand All @@ -186,7 +188,7 @@ jobs:
python -m pip install --user --upgrade pip
python -m pip install --upgrade wheel setuptools twine check-wheel-contents
python -m pip --version
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: dist
path: dist/
Expand Down
15 changes: 8 additions & 7 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,20 @@ black>=24.3
bumpversion~=0.6.0
click~=8.1
ddtrace==2.3.0
flake8~=6.1
flaky~=3.7
freezegun~=1.3
flake8~=7.0
flaky~=3.8
freezegun~=1.4
ipdb~=0.13.13
mypy==1.7.1 # patch updates have historically introduced breaking changes
mypy==1.8.0 # patch updates have historically introduced breaking changes
pip-tools~=7.3
pre-commit~=3.5
pre-commit-hooks~=4.5
pre-commit==3.7.0;python_version >="3.9"
pre-commit==3.5.0;python_version <"3.9"
pre-commit-hooks~=4.6
pytest~=7.4
pytest-csv~=3.0
pytest-dotenv~=0.5.2
pytest-logbook~=1.2
pytest-xdist~=3.5
pytest-xdist~=3.6
pytz~=2023.3
tox~=4.11
types-pytz~=2023.3
Expand Down

0 comments on commit d2fd0b6

Please sign in to comment.