Skip to content
7 changes: 5 additions & 2 deletions .builds/archlinux-py313.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ environment:
REQUIREMENTS: release
# TODO: ETESYNC_TESTS
tasks:
- check-python:
python --version | grep 'Python 3.13'
- check-python: |
python - <<'PY'
import sys
assert (3, 13) <= sys.version_info[:2] <= (3, 14), sys.version
PY
Comment thread
bernardotorres marked this conversation as resolved.
Outdated
- docker: |
sudo systemctl start docker
- setup: |
Expand Down
19 changes: 9 additions & 10 deletions .builds/tests-minimal.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# Run tests using oldest available dependency versions.
#
# TODO: It might make more sense to test with an older Ubuntu or Fedora version
# here, and consider that our "oldest suppported environment".
# Debian bookworm keeps this job on Python 3.11, which still supports the
# oldest aiohttp release in our minimal dependency set.

image: alpine/3.19 # python 3.11
image: debian/bookworm # python 3.11
Comment thread
bernardotorres marked this conversation as resolved.
packages:
- docker
- docker-cli
- build-essential
- docker.io
- docker-compose
- py3-pip
- python3-pip
- python3-dev
- python3-venv
sources:
- https://github.com/pimutils/vdirsyncer
environment:
BUILD: test
CI: true
CODECOV_TOKEN: b834a3c5-28fa-4808-9bdb-182210069c79
DAV_SERVER: radicale xandikos
DAV_SERVER: xandikos
Comment thread
bernardotorres marked this conversation as resolved.
Outdated
REQUIREMENTS: minimal
tasks:
- venv: |
python3 -m venv $HOME/venv
echo "export PATH=$HOME/venv/bin:$PATH" >> $HOME/.buildenv
- docker: |
sudo addgroup $(whoami) docker
sudo service docker start
sudo systemctl start docker
- setup: |
cd vdirsyncer
# Hack, no idea why it's needed
Expand All @@ -33,4 +33,3 @@ tasks:
- test: |
cd vdirsyncer
make -e ci-test
make -e ci-test-storage
Comment thread
bernardotorres marked this conversation as resolved.