File tree 1 file changed +55
-0
lines changed 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : sdist Test
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ branches :
9
+ - master
10
+ - 1.2.x
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ timeout-minutes : 60
16
+
17
+ steps :
18
+ - uses : actions/checkout@v2
19
+ with :
20
+ fetch-depth : 0
21
+
22
+ - name : Set up Python
23
+ uses : actions/setup-python@v2
24
+ with :
25
+ python-version : ' 3.8'
26
+
27
+ - name : Install dependencies
28
+ run : |
29
+ python -m pip install --upgrade pip setuptools wheel
30
+ pip install numpy cython python-dateutil pytz hypothesis pytest pytest-xdist
31
+ pip list
32
+
33
+ - name : Build Pandas sdist
34
+ run : |
35
+ python setup.py sdist --formats=gztar
36
+
37
+ - name : Install Pandas From sdist
38
+ run : |
39
+ pip install pandas/dist/*.gz
40
+
41
+ - name : Build Version
42
+ run : |
43
+ python -c "import pandas; pandas.show_versions();"
44
+
45
+ - name : Test with pytest
46
+ run : |
47
+ pytest -m 'not slow and not network and not clipboard' pandas
48
+ continue-on-error : true
49
+
50
+ - name : Publish test results
51
+ uses : actions/upload-artifact@master
52
+ with :
53
+ name : Test results
54
+ path : test-data.xml
55
+ if : failure()
You can’t perform that action at this time.
0 commit comments