File tree Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Expand file tree Collapse file tree 1 file changed +5
-14
lines changed Original file line number Diff line number Diff line change 1- name : Time Tacker CI/ CD
1+ name : Time Tacker CI
22
33on :
44 push :
55 branches :
66 - TT-394-Git-Hub-Action-to-Time-tracker-Backend-V2
7-
7+
88 pull_request :
9- branches :
9+ branches :
1010 - TT-394-Git-Hub-Action-to-Time-tracker-Backend-V2
1111
1212jobs :
@@ -21,25 +21,16 @@ jobs:
2121 uses : actions/setup-python@v2
2222 with :
2323 python-version : 3.10.0
24- - name : Add conda to system path
25- run : |
26- # $CONDA is an environment variable pointing to the root of the miniconda directory
27- echo $CONDA/bin >> $GITHUB_PATH
24+
2825 - name : Install dependencies
2926 run : |
30- # conda env update --file environment.yml --name base
3127 pip install -r V2/requirements.txt
3228 - name : Lint with flake8
3329 run : |
34- conda install flake8
3530 cd V2
36- # stop the build if there are Python syntax errors or undefined names
37- #flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
3831 flake8 . --show-source --statistics
39- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
40- #flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
32+
4133 - name : Test with pytest
4234 run : |
4335 cd V2
44- # conda install pytest
4536 python -m pytest -v
You can’t perform that action at this time.
0 commit comments