@@ -16,10 +16,10 @@ jobs:
1616steps :
1717 -name :Prepare Alpine Linux
1818run :|
19- apk add sudo git git-daemon python3 py3-pip
19+ apk add sudo git git-daemon python3 py3-pip py3-setuptools py3-virtualenv py3-wheel
2020 echo 'Defaults env_keep += "CI GITHUB_* RUNNER_*"' >/etc/sudoers.d/ci_env
2121 addgroup -g 127 docker
22- adduser -D -u 1001 runner
22+ adduser -D -u 1001 runner # TODO: Check if this still works on GHA as intended.
2323 adduser runner docker
2424shell :sh -exo pipefail {0} # Run this as root, not the "runner" user.
2525
@@ -50,17 +50,14 @@ jobs:
5050 . .venv/bin/activate
5151 printf '%s=%s\n' 'PATH' "$PATH" 'VIRTUAL_ENV' "$VIRTUAL_ENV" >>"$GITHUB_ENV"
5252
53- -name :Update PyPA packages
54- run :|
55- # Get the latest pip, wheel, and prior to Python 3.12, setuptools.
56- python -m pip install -U pip $(pip freeze --all | grep -ow ^setuptools) wheel
57-
5853 -name :Install project and test dependencies
5954run :|
55+ . .venv/bin/activate
6056 pip install ".[test]"
6157
6258 -name :Show version and platform information
6359run :|
60+ . .venv/bin/activate
6461 uname -a
6562 command -v git python
6663 git version
6966
7067 -name :Test with pytest
7168run :|
69+ . .venv/bin/activate
7270 pytest --color=yes -p no:sugar --instafail -vv