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