Commit 41020e2 1 parent 671029b commit 41020e2 Copy full SHA for 41020e2
File tree 1 file changed +39
-0
lines changed
1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Financial Risk Score Prediction CI
2
+
3
+
4
+ on :
5
+ push :
6
+ branches :
7
+ - main
8
+ pull_request :
9
+
10
+
11
+ jobs :
12
+ unit_test :
13
+ runs-on : ubuntu-latest
14
+ # runs-on: ${{matrix.os}}
15
+
16
+ # strategy:
17
+ # matrix:
18
+ # os: [ubuntu-latest, windows-latest, macos-latest]
19
+ # python-version: ['3.9', '3.10', '3.11']
20
+
21
+ steps :
22
+ - name : Checkout code
23
+ uses : actions/checkout@v3
24
+
25
+ - name : Setup Python
26
+ uses : actions/setup-python@v4
27
+ with :
28
+ python-version : ' 3.11.4'
29
+ # python-version: ${{matrix.python-version}}
30
+
31
+ - name : Install dependencies
32
+ run : |
33
+ python -m pip install --upgrade pip
34
+ pip install -r requirements.txt
35
+
36
+ - name : Run unit test
37
+ run : |
38
+ pytest tests/
39
+
You can’t perform that action at this time.
0 commit comments