Skip to content

Commit 33e1464

Browse files
Written CI workflow to execute unit tests
1 parent e06120e commit 33e1464

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/CI_workflow.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- dev
7-
7+
88
# Trigger workflow when a PR is created to push to the 'dev' branch
99
pull_request:
1010
branches:
@@ -21,7 +21,6 @@ jobs:
2121
matrix:
2222
os: [windows-latest]
2323
python: [3.11.5]
24-
2524
steps:
2625
- name: Checkout
2726
uses: actions/checkout@v3 # Clone the repo (Info: https://github.com/actions/checkout)
@@ -31,9 +30,13 @@ jobs:
3130
with:
3231
python-version: ${{ matrix.python }}
3332

34-
- name: Install python dependencies
33+
- name: Install python dependencies # Based on requirements.txt
3534
run: |
3635
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
3740
3841
- name: Run unit tests
3942
run: |

0 commit comments

Comments
 (0)