Skip to content

Commit e34f8a8

Browse files
committed
ci: TT-394 test
1 parent aeff126 commit e34f8a8

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/python-package.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,30 @@ on:
1010
- TT-394-Git-Hub-Action-to-Time-tracker-Backend-V2
1111

1212
jobs:
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

0 commit comments

Comments
 (0)