mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
ci: Ensure that minimal job runs on older Python
Fixes: https://github.com/pimutils/vdirsyncer/issues/1077
This commit is contained in:
parent
d26557bee3
commit
b38306bdd0
1 changed files with 7 additions and 6 deletions
|
|
@ -3,11 +3,12 @@
|
||||||
# TODO: It might make more sense to test with an older Ubuntu or Fedora version
|
# TODO: It might make more sense to test with an older Ubuntu or Fedora version
|
||||||
# here, and consider that our "oldest suppported environment".
|
# here, and consider that our "oldest suppported environment".
|
||||||
|
|
||||||
image: archlinux
|
image: alpine/3.15
|
||||||
packages:
|
packages:
|
||||||
- docker
|
- docker
|
||||||
|
- docker-cli
|
||||||
- docker-compose
|
- docker-compose
|
||||||
- python-pip
|
- py3-pip
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/pimutils/vdirsyncer
|
- https://github.com/pimutils/vdirsyncer
|
||||||
environment:
|
environment:
|
||||||
|
|
@ -18,16 +19,16 @@ environment:
|
||||||
REQUIREMENTS: minimal
|
REQUIREMENTS: minimal
|
||||||
# TODO: ETESYNC_TESTS
|
# TODO: ETESYNC_TESTS
|
||||||
tasks:
|
tasks:
|
||||||
|
- docker: |
|
||||||
|
sudo addgroup $(whoami) docker
|
||||||
|
sudo service docker start
|
||||||
- venv: |
|
- venv: |
|
||||||
python -m venv $HOME/venv
|
python3 -m venv $HOME/venv
|
||||||
echo "export PATH=$HOME/venv/bin:$PATH" >> $HOME/.buildenv
|
echo "export PATH=$HOME/venv/bin:$PATH" >> $HOME/.buildenv
|
||||||
- setup: |
|
- setup: |
|
||||||
sudo systemctl start docker
|
|
||||||
cd vdirsyncer
|
cd vdirsyncer
|
||||||
make -e install-dev
|
make -e install-dev
|
||||||
- test: |
|
- test: |
|
||||||
cd vdirsyncer
|
cd vdirsyncer
|
||||||
# Non-system python is used for packages:
|
|
||||||
export PATH=$PATH:~/.local/bin/
|
|
||||||
make -e ci-test
|
make -e ci-test
|
||||||
make -e ci-test-storage
|
make -e ci-test-storage
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue