Merge style checks into tests

They're both run in pretty much the same environment, and it's
unnecessary to spin up a separate VM for that.
This commit is contained in:
Hugo Osvaldo Barrera 2021-04-09 20:56:21 +02:00
parent 56688a6c50
commit b435465bc7
2 changed files with 4 additions and 16 deletions

View file

@ -1,16 +0,0 @@
image: archlinux
packages:
- docker
- docker-compose
- python-pip
sources:
- https://github.com/pimutils/vdirsyncer
tasks:
- setup: |
cd vdirsyncer
make -e install-style
- test: |
cd vdirsyncer
# Non-system python is used for packages:
export PATH=$PATH:~/.local/bin/
make -e style

View file

@ -16,6 +16,7 @@ tasks:
cd vdirsyncer
sudo systemctl start docker
DAV_SERVER="radicale xandikos" make -e install-test
make -e install-style
- test: |
cd vdirsyncer
# Non-system python is used for packages:
@ -23,3 +24,6 @@ tasks:
make -e ci-test
DAV_SERVER=radicale make -e ci-test-storage
DAV_SERVER=xandikos make -e ci-test-storage
- style: |
make -e install-style
make -e style