Skip to content

Commit b38306b

Browse files
committed
ci: Ensure that minimal job runs on older Python
Fixes: #1077
1 parent d26557b commit b38306b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.builds/tests-minimal.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
# TODO: It might make more sense to test with an older Ubuntu or Fedora version
44
# here, and consider that our "oldest suppported environment".
55

6-
image: archlinux
6+
image: alpine/3.15
77
packages:
88
- docker
9+
- docker-cli
910
- docker-compose
10-
- python-pip
11+
- py3-pip
1112
sources:
1213
- https://github.com/pimutils/vdirsyncer
1314
environment:
@@ -18,16 +19,16 @@ environment:
1819
REQUIREMENTS: minimal
1920
# TODO: ETESYNC_TESTS
2021
tasks:
22+
- docker: |
23+
sudo addgroup $(whoami) docker
24+
sudo service docker start
2125
- venv: |
22-
python -m venv $HOME/venv
26+
python3 -m venv $HOME/venv
2327
echo "export PATH=$HOME/venv/bin:$PATH" >> $HOME/.buildenv
2428
- setup: |
25-
sudo systemctl start docker
2629
cd vdirsyncer
2730
make -e install-dev
2831
- test: |
2932
cd vdirsyncer
30-
# Non-system python is used for packages:
31-
export PATH=$PATH:~/.local/bin/
3233
make -e ci-test
3334
make -e ci-test-storage

0 commit comments

Comments
 (0)