fix(ci): ensure pipx is in PATH 8
Some checks failed
CI w/ Poetry and Docker / ci (pull_request) Failing after 47s
Some checks failed
CI w/ Poetry and Docker / ci (pull_request) Failing after 47s
This commit is contained in:
parent
759efc8da9
commit
0f9d40518b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user