Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 0c96c95

Browse files
leahwiczmikealfare
andauthored
Isolating distribution testing (#1346)
Co-authored-by: Mike Alfare <[email protected]>
1 parent 1d61844 commit 0c96c95

File tree

2 files changed

+14
-11
lines changed

2 files changed

+14
-11
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
kind: Under the Hood
2+
body: Isolating distribution testing
3+
time: 2024-09-10T21:20:52.574204-04:00
4+
custom:
5+
Author: leahwicz
6+
Issue: "1290"

.github/workflows/main.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ jobs:
163163
overwrite: true
164164

165165
test-build:
166-
name: verify packages / python ${{ matrix.python-version }} / ${{ matrix.os }}
166+
name: verify packages / python ${{ matrix.python-version }} / ${{ matrix.os }} / ${{ matrix.dist-type }}
167167

168168
if: needs.build.outputs.is_alpha == 0
169169

@@ -182,11 +182,13 @@ jobs:
182182
uses: actions/setup-python@v5
183183
with:
184184
python-version: ${{ matrix.python-version }}
185+
185186
- name: Install python dependencies
186187
run: |
187188
python -m pip install --user --upgrade pip
188-
python -m pip install --upgrade wheel setuptools twine check-wheel-contents
189+
python -m pip install --upgrade wheel
189190
python -m pip --version
191+
190192
- uses: actions/download-artifact@v4
191193
with:
192194
name: dist
@@ -195,15 +197,10 @@ jobs:
195197
- name: Show distributions
196198
run: ls -lh dist/
197199

198-
- name: Install wheel distributions
199-
run: |
200-
find ./dist/*.whl -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/
201-
- name: Check wheel distributions
200+
- name: Install ${{ matrix.dist-type }} distributions
202201
run: |
203-
python -c "import dbt.adapters.bigquery"
204-
- name: Install source distributions
205-
run: |
206-
find ./dist/*.gz -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/
207-
- name: Check source distributions
202+
find ./dist/*.${{ matrix.dist-type }} -maxdepth 1 -type f | xargs python -m pip install --force-reinstall --find-links=dist/
203+
204+
- name: Check ${{ matrix.dist-type }} distributions
208205
run: |
209206
python -c "import dbt.adapters.bigquery"

0 commit comments

Comments
 (0)