@@ -105,46 +105,13 @@ jobs:
105
105
path : dist/
106
106
107
107
test-build :
108
- name : verify packages / python ${{ matrix.python-version }} / ${{ matrix.os }}
109
-
110
108
needs : build
111
109
112
- runs-on : ${{ matrix.os }}
113
-
114
- strategy :
115
- fail-fast : false
116
- matrix :
117
- os : [ubuntu-latest, macos-latest, windows-latest]
118
- python-version : [3.8, 3.9, '3.10']
110
+ runs-on : ubuntu-latest
119
111
120
112
steps :
121
- - name : Set up Python ${{ matrix.python-version }}
122
- uses : actions/setup-python@v4
123
- with :
124
- python-version : ${{ matrix.python-version }}
125
-
126
- - name : Install python dependencies
127
- run : |
128
- pip install --user --upgrade pip
129
- pip install --upgrade wheel
130
- pip --version
131
- - uses : actions/download-artifact@v3
132
- with :
133
- name : dist
134
- path : dist/
135
-
136
- - name : Show distributions
137
- run : ls -lh dist/
138
-
139
- - name : Install wheel distributions
140
- run : |
141
- find ./dist/*.whl -maxdepth 1 -type f | xargs pip install --force-reinstall --find-links=dist/
142
- - name : Check wheel distributions
143
- run : |
144
- dbt --version
145
- - name : Install source distributions
146
- run : |
147
- find ./dist/*.gz -maxdepth 1 -type f | xargs pip install --force-reinstall --find-links=dist/
148
- - name : Check source distributions
149
- run : |
150
- dbt --version
113
+ - uses : actions/checkout@v3
114
+ - name : Build Docker image
115
+ run : docker build -t dbt-iris:$GITHUB_SHA .
116
+ - name : Run Tests
117
+ run : docker run --rm dbt-iris:$GITHUB_SHA run_tests_in_docker.sh
0 commit comments