@@ -3,32 +3,33 @@ name: golden tests
33on : [push, pull_request]
44
55env :
6- PYTHON_VERSION : 3.13.5
6+ PYTHON_VERSION : ' 3.12 '
77
88jobs :
9- build :
10- runs-on : ubuntu-latest
11- steps :
12- - name : checkout repo content
13- uses : actions/checkout@v4
14-
15- - name : setup python
16- uses : actions/setup-python@v4
17- with :
18- python-version : ${{ env.PYTHON_VERSION }}
19-
20- - name : Install FinancePy dependencies and package
21- run : |
22- python -m pip install --upgrade pip
23- pip install .[test]
24-
25- - name : Run Golden tests
26- run :
27- python golden_tests/run_all_tests.py
28-
29- - name : Archive code coverage results
30- uses : actions/upload-artifact@v4
31- with :
32- name : result-differences-file-upload
33- path : golden_tests/differences/*.testLog
34-
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : checkout repo content
14+ uses : actions/checkout@v4
15+
16+ - name : setup python
17+ uses : actions/setup-python@v4
18+ with :
19+ python-version : " ${{ env.PYTHON_VERSION }}"
20+
21+ - name : Install FinancePy dependencies and package
22+ run : |
23+ python -m pip install --upgrade pip
24+ python -m pip install -r requirements.txt
25+ python -m pip install .[test]
26+
27+ - name : Run Golden tests
28+ run : |
29+ python golden_tests/run_all_tests.py
30+
31+ - name : Archive golden test result differences
32+ uses : actions/upload-artifact@v4
33+ with :
34+ name : result-differences-file-upload
35+ path : golden_tests/differences/*.testLog
0 commit comments