Update .gitea/workflows/test.yml
Run Pytest with Allure and Coverage Reports / tests (push) Failing after 55s
Run Pytest with Allure and Coverage Reports / tests (push) Failing after 55s
This commit is contained in:
@@ -35,16 +35,17 @@ jobs:
|
||||
|
||||
- name: Install coverage and reporting tools
|
||||
run: |
|
||||
python -m venv ~/venv
|
||||
source ~/venv/bin/activate
|
||||
python -m venv "$HOME/venv"
|
||||
source "$HOME/venv/bin/activate"
|
||||
pip install --upgrade pip
|
||||
pip install coverage pytest-html pytest-cov
|
||||
echo "VIRTUAL_ENV=~/venv" >> $GITHUB_ENV
|
||||
echo "VIRTUAL_ENV=$HOME/venv" >> $GITHUB_ENV
|
||||
|
||||
- name: Run tests with coverage and generate reports
|
||||
run: |
|
||||
export PATH="$HOME/.pixi/bin:$PATH"
|
||||
source $VIRTUAL_ENV/bin/activate
|
||||
source "$VIRTUAL_ENV/bin/activate"
|
||||
|
||||
mkdir -p ci-reports/{allure,coverage,markdown}
|
||||
|
||||
# Run tests
|
||||
|
||||
Reference in New Issue
Block a user