File tree Expand file tree Collapse file tree 1 file changed +5
-27
lines changed Expand file tree Collapse file tree 1 file changed +5
-27
lines changed Original file line number Diff line number Diff line change @@ -103,39 +103,17 @@ jobs:
103
103
make_sdist :
104
104
name : Make SDist
105
105
runs-on : ubuntu-latest
106
- timeout-minutes : 20
106
+ timeout-minutes : 10
107
107
steps :
108
108
- uses : actions/checkout@v2
109
- - name : Base Setup
110
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
111
- - name : Build SDist
112
- run : |
113
- pip install build
114
- python -m build --sdist
115
- - uses : actions/upload-artifact@v2
116
- with :
117
- name : " sdist"
118
- path : dist/*.tar.gz
109
+ - uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
110
+ - uses : jupyterlab/maintainer-tools/.github/actions/make-sdist@v1
119
111
120
112
test_sdist :
121
113
runs-on : ubuntu-latest
122
114
needs : [make_sdist]
123
115
name : Install from SDist and Test
124
116
timeout-minutes : 20
125
117
steps :
126
- - name : Base Setup
127
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
128
- - name : Download sdist
129
- uses : actions/download-artifact@v2
130
- - name : Install From SDist
131
- run : |
132
- set -ex
133
- cd sdist
134
- mkdir test
135
- tar --strip-components=1 -zxvf *.tar.gz -C ./test
136
- cd test
137
- pip install .[test]
138
- - name : Run Test
139
- run : |
140
- cd sdist/test
141
- pytest -vv || pytest -vv --lf
118
+ - uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
119
+ - uses : jupyterlab/maintainer-tools/.github/actions/test-sdist@v1
You can’t perform that action at this time.
0 commit comments