File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ jobs:
1616 steps :
1717 - name : Prepare Alpine Linux
1818 run : |
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
2424 shell : 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
5954 run : |
55+ . .venv/bin/activate
6056 pip install ".[test]"
6157
6258 - name : Show version and platform information
6359 run : |
60+ . .venv/bin/activate
6461 uname -a
6562 command -v git python
6663 git version
6966
7067 - name : Test with pytest
7168 run : |
69+ . .venv/bin/activate
7270 pytest --color=yes -p no:sugar --instafail -vv
You can’t perform that action at this time.
0 commit comments