3
3
pull_request :
4
4
branches :
5
5
- master
6
+ types :
7
+ - labeled
8
+ - opened
9
+ - edited
10
+ - reopened
11
+ - synchronize
6
12
push :
7
13
branches :
8
14
- master
24
30
- ' 3.8'
25
31
steps :
26
32
- uses : actions/checkout@v2
33
+ with :
34
+ fetch-depth : 100
27
35
- name : Setup python
28
36
uses : actions/setup-python@v1
29
37
with :
@@ -44,24 +52,86 @@ jobs:
44
52
${{ runner.os }}-test-${{ env.cache-name }}-
45
53
${{ runner.os }}-test-
46
54
${{ runner.os }}-
47
- - run : |
55
+
56
+ - uses : marceloprado/has-changed-path@v1
57
+ id : RLBase-changed
58
+ with :
59
+ paths : src/ReinforcementLearningBase
60
+
61
+ - name : Test RLBase
62
+ if : (steps.RLBase-changed.outputs.changed == 'true') || (contains(github.event.pull_request.labels.*.name, 'Integration Test'))
63
+ run : |
48
64
julia --color=yes -e '
49
65
using Pkg;
50
66
Pkg.develop(path="src/ReinforcementLearningBase")
67
+ Pkg.test("ReinforcementLearningBase")'
68
+
69
+ - uses : marceloprado/has-changed-path@v1
70
+ id : RLCore-changed
71
+ with :
72
+ paths : src/ReinforcementLearningCore
73
+
74
+ - name : Test RLCore
75
+ if : (steps.RLCore-changed.outputs.changed == 'true') || (contains(github.event.pull_request.labels.*.name, 'Integration Test'))
76
+ run : |
77
+ julia --color=yes -e '
78
+ using Pkg;
51
79
Pkg.develop(path="src/ReinforcementLearningCore")
52
- Pkg.develop(path="src/ReinforcementLearningEnvironments")
80
+ Pkg.test("ReinforcementLearningCore")'
81
+
82
+ - uses : marceloprado/has-changed-path@v1
83
+ id : RLZoo-changed
84
+ with :
85
+ paths : src/ReinforcementLearningZoo
86
+
87
+ - name : Test RLZoo
88
+ if : (steps.RLZoo-changed.outputs.changed == 'true') || (contains(github.event.pull_request.labels.*.name, 'Integration Test'))
89
+ run : |
90
+ julia --color=yes -e '
91
+ using Pkg;
53
92
Pkg.develop(path="src/ReinforcementLearningZoo")
93
+ Pkg.test("ReinforcementLearningZoo")'
94
+
95
+ - uses : marceloprado/has-changed-path@v1
96
+ id : RLEnvironments-changed
97
+ with :
98
+ paths : src/ReinforcementLearningEnvironments
99
+
100
+ - name : Test RLEnvironments
101
+ if : (steps.RLEnvironments-changed.outputs.changed == 'true') || (contains(github.event.pull_request.labels.*.name, 'Integration Test'))
102
+ run : |
103
+ julia --color=yes -e '
104
+ using Pkg;
105
+ Pkg.develop(path="src/ReinforcementLearningEnvironments")
106
+ Pkg.test("ReinforcementLearningEnvironments")'
107
+
108
+ - uses : marceloprado/has-changed-path@v1
109
+ id : RLDatasets-changed
110
+ with :
111
+ paths : src/ReinforcementLearningDatasets
112
+
113
+ - name : Test RLDatasets
114
+ if : (steps.RLDatasets-changed.outputs.changed == 'true') || (contains(github.event.pull_request.labels.*.name, 'Integration Test'))
115
+ run : |
116
+ julia --color=yes -e '
117
+ using Pkg;
54
118
Pkg.develop(path="src/ReinforcementLearningDatasets")
55
- Pkg.develop(path=".")
119
+ Pkg.test("ReinforcementLearningDatasets")'
120
+
121
+ - uses : marceloprado/has-changed-path@v1
122
+ id : RLExperiments-changed
123
+ with :
124
+ paths : docs/experiments
125
+
126
+ - name : Test RLExperiments
127
+ if : (steps.RLExperiments-changed.outputs.changed == 'true') || (contains(github.event.pull_request.labels.*.name, 'Integration Test'))
128
+ run : |
129
+ julia --color=yes -e '
130
+ using Pkg;
56
131
Pkg.develop(path="src/ReinforcementLearningExperiments")
57
132
Pkg.build("ReinforcementLearningExperiments")
58
- Pkg.test("ReinforcementLearningBase")
59
- Pkg.test("ReinforcementLearningCore")
60
- Pkg.test("ReinforcementLearningEnvironments")
61
- Pkg.test("ReinforcementLearningZoo")
62
- Pkg.test("ReinforcementLearning")
63
- Pkg.test("ReinforcementLearningExperiments")
64
- Pkg.test("ReinforcementLearningDatasets")'
133
+ Pkg.test("ReinforcementLearningExperiments")'
134
+
65
135
docs :
66
136
name : Documentation
67
137
runs-on : ubuntu-latest
0 commit comments