Skip to content

Commit

Permalink
Tried to use a relative and not an absolute path for venv
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-probst committed Mar 27, 2024
1 parent 2bf2df7 commit 61149c7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/push-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@ jobs:
apk upgrade
apk add --virtual build-dependencies build-base gcc wget git
apk add --no-cache python3 python3-dev py3-pip nodejs npm
python3 -m venv /venv
ls -l /venv
ls -l /venv/bin
chmod +x /venv/bin/activate
ls -l /venv/bin
/venv/bin/activate
python3 -m venv venv
source venv/bin/activate
pip3 install pre-commit
git config --global --add safe.directory /github/workspace
pre-commit run --verbose --all-files > pre-commit-validation.txt & cat pre-commit-validation.txt
Expand All @@ -33,6 +29,7 @@ jobs:
echo "Pre-commit did run on local machine."
fi
build_latex:
name: Build lecture PDFs
runs-on: ubuntu-latest
Expand Down

0 comments on commit 61149c7

Please sign in to comment.