fix(ci): fix constantly failing CI #450
| @@ -47,8 +47,7 @@ jobs: | ||||
|  | ||||
|       - name: Setup virtual environment | ||||
|         run: | | ||||
|           cat $HOME/.profile | ||||
|           echo $PATH | ||||
|           source $HOME/.profile | ||||
|           poetry config virtualenvs.create true --local | ||||
|           poetry config virtualenvs.in-project true --local | ||||
|  | ||||
| @@ -64,11 +63,13 @@ jobs: | ||||
|  | ||||
|       - name: Lint | ||||
|         run: | | ||||
|           source $HOME/.profile | ||||
|           poetry run pylint --fail-under=8 --recursive=yes --output-format=parseable --output=lintreport.txt . | ||||
|           cat lintreport.txt | ||||
|  | ||||
|       - name: Unit Test | ||||
|         run: | | ||||
|           source $HOME/.profile | ||||
|           poetry run coverage run -m pytest -v --junitxml=testresults.xml | ||||
|           poetry run coverage xml | ||||
|           sed -i 's@${{ gitea.workspace }}@/github/workspace@g' coverage.xml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user