-
Notifications
You must be signed in to change notification settings - Fork 46
43 lines (38 loc) · 1.17 KB
/
testwheel.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: TestWheel
on:
workflow_dispatch:
inputs:
runid:
description: 'run-id (if empty, downloads from PyPI)'
default: ''
jobs:
testwheel:
strategy:
fail-fast: false
matrix:
#os: [ubuntu-20.04, ubuntu-22.04,
# windows-latest,
# macos-11, macos-12, macos-13, macos-14]
#py: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [macos-13]
py: ['3.10']
name: ${{ matrix.os }} py${{ matrix.py }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
- run: python -m pip install gemmi
if: ${{ github.event.inputs.runid == '' }}
- uses: actions/download-artifact@v4
if: ${{ github.event.inputs.runid != '' }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.inputs.runid }}
path: wheels
- run: |
ls -R wheels
python -m pip install --no-index --find-links=wheels gemmi
if: ${{ github.event.inputs.runid != '' }}
- run: python -m unittest discover -s tests -v