File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
branches :
6
6
- dev
7
-
7
+
8
8
# Trigger workflow when a PR is created to push to the 'dev' branch
9
9
pull_request :
10
10
branches :
21
21
matrix :
22
22
os : [windows-latest]
23
23
python : [3.11.5]
24
-
25
24
steps :
26
25
- name : Checkout
27
26
uses : actions/checkout@v3 # Clone the repo (Info: https://github.com/actions/checkout)
31
30
with :
32
31
python-version : ${{ matrix.python }}
33
32
34
- - name : Install python dependencies
33
+ - name : Install python dependencies # Based on requirements.txt
35
34
run : |
36
35
pip install -r ECommerce_Churn_Propensity_Model/requirements.txt
36
+
37
+ - name : Set up Python path
38
+ run : |
39
+ echo "PYTHONPATH=$PYTHONPATH:${{ github.workspace }}/ECommerce_Churn_Propensity_Model/src" >> $GITHUB_ENV
37
40
38
41
- name : Run unit tests
39
42
run : |
You can’t perform that action at this time.
0 commit comments