File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change 1010 - TT-394-Git-Hub-Action-to-Time-tracker-Backend-V2
1111
1212jobs :
13- build-linux :
13+ build-ci-time-tracker :
1414 runs-on : ubuntu-latest
1515 strategy :
1616 max-parallel : 5
17-
1817 steps :
1918 - uses : actions/checkout@v2
2019 - name : Set up Python 3.10.0
2120 uses : actions/setup-python@v2
2221 with :
2322 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
23+
24+ - name : Add conda to system path
25+ run : |
26+ echo $CONDA/bin >> $GITHUB_PATH
27+
2828 - name : Install dependencies
2929 run : |
30- # conda env update --file environment.yml --name base
3130 pip install -r V2/requirements.txt
31+
3232 - name : Lint with flake8
3333 run : |
34- # conda install flake8
3534 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
3835 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
4136 - name : Test with pytest
4237 run : |
4338 cd V2
44- # conda install pytest
4539 python -m pytest -v
You can’t perform that action at this time.
0 commit comments