File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,24 +53,19 @@ jobs:
5353 key : venv-${{ runner.os }}-${{ steps.python-setup.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
5454
5555 - name : Install dependencies
56- if : steps.dependencies-cache.outputs.cache-hit != 'true'
5756 run : |
58- poetry install --no-interaction --no-root
57+ poetry install --no-interaction
5958
6059 # TODO: add linting / black / flake8
6160 # - name: Lint with flake8
6261 # run: |
63- # source .venv/bin/activate
64- # # stop the build if there are Python syntax errors or undefined names
65- # flake8 ./evaluation_function --count --select=E9,F63,F7,F82 --show-source --statistics
66- # # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
67- # flake8 ./evaluation_function --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
62+ # poetry run flake8 ./evaluation_function --count --select=E9,F63,F7,F82 --show-source --statistics
63+ # poetry run flake8 ./evaluation_function --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
6864
6965 - name : Run tests
7066 if : always()
7167 run : |
72- source .venv/bin/activate
73- pytest --junit-xml=./reports/pytest.xml --tb=auto -v
68+ poetry run pytest --junit-xml=./reports/pytest.xml --tb=auto -v
7469
7570 - name : Upload test results
7671 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments