8
8
9
9
env :
10
10
ENV_FILE : environment.yml
11
- # TODO: remove export PATH=... in each step once this works
12
- # PATH: $HOME/miniconda3/bin:$PATH
13
11
14
12
jobs :
15
13
checks :
@@ -20,68 +18,61 @@ jobs:
20
18
- name : Checkout
21
19
uses : actions/checkout@v1
22
20
21
+ - name : Setting conda path
22
+ run : echo "::set-env name=PATH::${HOME}/miniconda3/bin:${PATH}"
23
+
23
24
- name : Looking for unwanted patterns
24
25
run : ci/code_checks.sh patterns
25
26
if : true
26
27
27
28
- name : Setup environment and build pandas
28
- run : |
29
- export PATH=$HOME/miniconda3/bin:$PATH
30
- ci/setup_env.sh
29
+ run : ci/setup_env.sh
31
30
if : true
32
31
33
32
- name : Linting
34
33
run : |
35
- export PATH=$HOME/miniconda3/bin:$PATH
36
34
source activate pandas-dev
37
35
ci/code_checks.sh lint
38
36
if : true
39
37
40
38
- name : Dependencies consistency
41
39
run : |
42
- export PATH=$HOME/miniconda3/bin:$PATH
43
40
source activate pandas-dev
44
41
ci/code_checks.sh dependencies
45
42
if : true
46
43
47
44
- name : Checks on imported code
48
45
run : |
49
- export PATH=$HOME/miniconda3/bin:$PATH
50
46
source activate pandas-dev
51
47
ci/code_checks.sh code
52
48
if : true
53
49
54
50
- name : Running doctests
55
51
run : |
56
- export PATH=$HOME/miniconda3/bin:$PATH
57
52
source activate pandas-dev
58
53
ci/code_checks.sh doctests
59
54
if : true
60
55
61
56
- name : Docstring validation
62
57
run : |
63
- export PATH=$HOME/miniconda3/bin:$PATH
64
58
source activate pandas-dev
65
59
ci/code_checks.sh docstrings
66
60
if : true
67
61
68
62
- name : Typing validation
69
63
run : |
70
- export PATH=$HOME/miniconda3/bin:$PATH
71
64
source activate pandas-dev
72
65
ci/code_checks.sh typing
73
66
if : true
74
67
75
68
- name : Testing docstring validation script
76
69
run : |
77
- export PATH=$HOME/miniconda3/bin:$PATH
78
70
source activate pandas-dev
79
71
pytest --capture=no --strict scripts
80
72
if : true
81
73
82
74
- name : Running benchmarks
83
75
run : |
84
- export PATH=$HOME/miniconda3/bin:$PATH
85
76
source activate pandas-dev
86
77
cd asv_bench
87
78
asv check -E existing
0 commit comments