File tree 2 files changed +23
-2
lines changed
2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 87
87
fetch-depth : 50
88
88
submodules : true
89
89
90
+ - uses : actions/download-artifact@v1
91
+ with :
92
+ name : dist
93
+ path : dist/
94
+
95
+ - name : Extract Release Version
96
+ id : relver
97
+ run : |
98
+ set -e
99
+ echo ::set-output name=version::$(cat dist/VERSION)
100
+ rm dist/*
101
+
90
102
- name : Set up Python ${{ matrix.python-version }}
91
103
uses : actions/setup-python@v1
92
104
with :
@@ -114,9 +126,11 @@ jobs:
114
126
if : |
115
127
!startsWith(matrix.os, 'windows')
116
128
&& !contains(github.event.pull_request.labels.*.name, 'skip wheel tests')
129
+ env :
130
+ OS : ${{ matrix.os }}
131
+ PKG_VERSION : ${{ steps.relver.outputs.version }}
117
132
run : |
118
- pip install --pre httptools -f "file:///${GITHUB_WORKSPACE}/dist"
119
- make -C "${GITHUB_WORKSPACE}" testinstalled
133
+ "${GITHUB_WORKSPACE}/.github/workflows/test-wheels.sh"
120
134
121
135
- uses : actions/upload-artifact@v1
122
136
with :
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -Eexuo pipefail
4
+ shopt -s nullglob
5
+
6
+ pip install -f " file:///${GITHUB_WORKSPACE} /dist" " httptools[test]==${PKG_VERSION} "
7
+ make -C " ${GITHUB_WORKSPACE} " testinstalled
You can’t perform that action at this time.
0 commit comments