Skip to content

Commit f09d060

Browse files
author
Hugo Osvaldo Barrera
committed
Run Fastmail tests on CI
1 parent ef2419e commit f09d060

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.builds/tests-release.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ sources:
1010
- https://github.com/pimutils/vdirsyncer
1111
secrets:
1212
- a36c8ba3-fba0-4338-b402-6aea0fbe771e
13+
- 4d9a6dfe-5c8d-48bd-b864-a2f5d772c536
1314
environment:
1415
BUILD: test
1516
CI: true
@@ -33,6 +34,19 @@ tasks:
3334
# Non-system python is used for packages:
3435
export PATH=$PATH:~/.local/bin/
3536
make -e style
37+
- check-secrets: |
38+
# Stop here if this is a PR. PRs can't run with the below secrets.
39+
[ -f ~/fastmail-secrets ] || complete-build
40+
- extra-storages: |
41+
set +x
42+
source ~/fastmail-secrets
43+
set -x
44+
45+
cd vdirsyncer
46+
export PATH=$PATH:~/.local/bin/
47+
DAV_SERVER=fastmail pytest tests/storage
48+
- check-tag: |
49+
# Stop here unless this is a tag.
3650
git describe --exact-match --tags || complete-build
3751
- publish: |
3852
cd vdirsyncer

0 commit comments

Comments
 (0)