File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : dist-check
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ dist :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - name : Setup Python
11
+ uses : actions/setup-python@v2
12
+ with :
13
+ python-version : 3.8
14
+ - name : Build dist
15
+ run : |
16
+ python setup.py sdist
17
+ - name : Twine check
18
+ run : |
19
+ pip install twine
20
+ last_dist=$(ls -t dist/autoPyTorch-*.tar.gz | head -n 1)
21
+ twine_output=`twine check "$last_dist"`
22
+ if [[ "$twine_output" != "Checking $last_dist: PASSED" ]]; then echo $twine_output && exit 1;fi
23
+ - name : Install dist
24
+ run : |
25
+ last_dist=$(ls -t dist/autoPyTorch-*.tar.gz | head -n 1)
26
+ pip install $last_dist
27
+ - name : PEP 561 Compliance
28
+ run : |
29
+ pip install mypy
30
+ cd .. # required to use the installed version of autosklearn
31
+ if ! python -c "import autoPyTorch"; then exit 1; fi
You can’t perform that action at this time.
0 commit comments