@@ -73,20 +73,36 @@ jobs:
73
73
strategy :
74
74
matrix :
75
75
python-version : [3.5, 3.6, 3.7, 3.8, 3.9]
76
- os : [ubuntu-16 .04, macos-latest, windows-latest]
76
+ os : [ubuntu-20 .04, macos-latest, windows-latest]
77
77
exclude :
78
78
# Python 3.5 is unable to properly
79
79
# find the recent VS tooling
80
80
# https://bugs.python.org/issue30389
81
81
- os : windows-latest
82
82
python-version : 3.5
83
83
84
+ defaults :
85
+ run :
86
+ shell : bash
87
+
84
88
steps :
85
89
- uses : actions/checkout@v1
86
90
with :
87
91
fetch-depth : 50
88
92
submodules : true
89
93
94
+ - uses : actions/download-artifact@v1
95
+ with :
96
+ name : dist
97
+ path : dist/
98
+
99
+ - name : Extract Release Version
100
+ id : relver
101
+ run : |
102
+ set -e
103
+ echo ::set-output name=version::$(cat dist/VERSION)
104
+ rm dist/*
105
+
90
106
- name : Set up Python ${{ matrix.python-version }}
91
107
uses : actions/setup-python@v1
92
108
with :
@@ -114,9 +130,11 @@ jobs:
114
130
if : |
115
131
!startsWith(matrix.os, 'windows')
116
132
&& !contains(github.event.pull_request.labels.*.name, 'skip wheel tests')
133
+ env :
134
+ OS : ${{ matrix.os }}
135
+ PKG_VERSION : ${{ steps.relver.outputs.version }}
117
136
run : |
118
- pip install --pre httptools -f "file:///${GITHUB_WORKSPACE}/dist"
119
- make -C "${GITHUB_WORKSPACE}" testinstalled
137
+ "${GITHUB_WORKSPACE}/.github/workflows/test-wheels.sh"
120
138
121
139
- uses : actions/upload-artifact@v1
122
140
with :
0 commit comments