@@ -73,20 +73,36 @@ jobs:
7373 strategy :
7474 matrix :
7575 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]
7777 exclude :
7878 # Python 3.5 is unable to properly
7979 # find the recent VS tooling
8080 # https://bugs.python.org/issue30389
8181 - os : windows-latest
8282 python-version : 3.5
8383
84+ defaults :
85+ run :
86+ shell : bash
87+
8488 steps :
8589 - uses : actions/checkout@v1
8690 with :
8791 fetch-depth : 50
8892 submodules : true
8993
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+
90106 - name : Set up Python ${{ matrix.python-version }}
91107 uses : actions/setup-python@v1
92108 with :
@@ -114,9 +130,11 @@ jobs:
114130 if : |
115131 !startsWith(matrix.os, 'windows')
116132 && !contains(github.event.pull_request.labels.*.name, 'skip wheel tests')
133+ env :
134+ OS : ${{ matrix.os }}
135+ PKG_VERSION : ${{ steps.relver.outputs.version }}
117136 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"
120138
121139 - uses : actions/upload-artifact@v1
122140 with :
0 commit comments