Hugo Osvaldo Barrera
58aa0a3a31
Simplify coverage submission
...
We submit separate coverage reports for each group of tests, but codecov
doesn't give us proper tooling to analyse each one separately. When
there's a percentage drop in one, there's no way to pinpoint where -- at
least not without running locally and inspecting results separately.
Treat all coverage as one. Analysis of coverage for each group of tests
can be done offline and manually, but there's little value in keeping it
in codecov.
Should also help us transition a more simplified CI design (e.g.:
running all tests together rather than in groups).
2021-07-06 23:45:35 +02:00
Hugo Osvaldo Barrera
21db2547cb
Merge pull request #911 from pimutils/optimise-test-servers
...
Minor optimisations to tests
2021-06-27 18:31:11 +02:00
Hugo Osvaldo Barrera
be131a0063
Merge pull request #910 from pimutils/orage
...
Update link for orage
2021-06-27 13:17:06 +02:00
Hugo Osvaldo Barrera
71879045e4
Tidy up test collection creation
...
- No need to empty collections, they're generated with a UUID and should
always be empty (the code to empty them does not actually run in CI
right now).
- Move deletion code to _after_ the yield, since that's the order in
which things happen.
- Delete all collections asynchronously.
2021-06-27 13:16:31 +02:00
Hugo Osvaldo Barrera
54e0c114fa
Update link for orage
...
The previous one is 404, and that domain redirects to some random
website.
2021-06-27 12:37:33 +02:00
Hugo Osvaldo Barrera
17f422c1b7
Auto-delete test containers
2021-06-26 19:59:56 +02:00
Hugo Osvaldo Barrera
a9f1a5195a
Tweak output when running tests
2021-06-26 19:59:56 +02:00
Hugo Osvaldo Barrera
8dab258ef0
Merge pull request #909 from pimutils/fastmail
...
Run Fastmail on CI again
2021-06-26 18:40:50 +02:00
Hugo Osvaldo Barrera
f09d060580
Run Fastmail tests on CI
2021-06-26 18:25:35 +02:00
Hugo Osvaldo Barrera
ef2419efa9
Avoid running bogus tests with Fastmail
...
The fix that disabled VTODO tests accidentally ran all other tests twice
for this storage.
This wasn't picked up earlier since Fastmail is not currently running on
CI.
2021-06-26 18:12:54 +02:00
Hugo Osvaldo Barrera
2eff8e08e1
Fix breakage in Fastmail tests
...
Some code that wasn't updated with the switch to asyncio.
2021-06-26 18:12:22 +02:00
Hugo Osvaldo Barrera
152ebb05dd
Merge pull request #906 from pimutils/async
...
Initial asyncio support
2021-06-26 15:56:23 +02:00
Hugo Osvaldo Barrera
5a9fc2cc7e
Add changelog entries for asyncio support
2021-06-26 13:40:38 +02:00
Hugo Osvaldo Barrera
dfed9794cb
Port google storage to use asyncio
2021-06-26 13:40:38 +02:00
Hugo Osvaldo Barrera
8d69b73c9e
Fetch displaynames asynchronously
2021-06-26 13:40:38 +02:00
Hugo Osvaldo Barrera
1a1f6f0788
Initial async support
...
Add asyncio to the storage backends and most of the codebase. A lot of
it merely uses asyncio APIs, but still doesn't actually run several
things concurrently internally. Further improvements will be added on
top of these changes
Thanks to Thomas Grainger (@graingert) for a few useful pointers
related to asyncio.
2021-06-26 13:40:35 +02:00
Hugo Osvaldo Barrera
7c9170c677
Remove unecessary indirection
2021-06-26 13:02:41 +02:00
Hugo Osvaldo Barrera
623c0537e1
Update test
2021-06-26 13:02:41 +02:00
Hugo Osvaldo Barrera
4930b5f389
Drop multithreading support
...
This is mainly in preparation to moving to an async architecture.
2021-06-26 13:02:41 +02:00
Hugo Osvaldo Barrera
25435ce11d
Merge pull request #903 from pimutils/fix-old-ssl-tests
...
Fix SSL tests failing due to old weak MDs
2021-06-26 13:01:17 +02:00
Hugo Osvaldo Barrera
1f6cc6f8be
Fix SSL tests failing due to old weak MDs
...
Had to drop pytest-localserver, since it's broken and upstream is gone.
2021-06-20 18:49:02 +02:00
Hugo Osvaldo Barrera
59b6e24795
Merge pull request #905 from pimutils/showconfig
...
Add a command to print the current config
2021-06-19 13:38:15 +02:00
Hugo Osvaldo Barrera
722dace828
Merge pull request #904 from pimutils/improve-error-msg
...
Fix double-use of a generator
2021-06-19 13:11:24 +02:00
Hugo Osvaldo Barrera
6cebba0853
Add a changelog entry
2021-06-17 08:42:45 +02:00
Hugo Osvaldo Barrera
29528123a3
Add a command to print the current config
...
This is intended to be used by external tools and integrations (such as
daemons which trigger `vdirsyncer` when there's a change in a
collection).
2021-06-16 19:03:50 +02:00
Hugo Osvaldo Barrera
72618e374d
Fix double-use of a generation
...
The first use exhausted it, so the second iteration was empty.
2021-06-14 22:50:22 +02:00
Witcher01
c254b4ad1d
fixed password.fetch option not using environment
...
the '_strategy_command' in 'fetchparams.cli' did not expand the path of
every argument, but only the first one (being the command to be
executed).
i fixed the '_strategy_command' function to apply the 'expand_path'
function to every member of the commands list.
2021-06-13 16:14:46 +02:00
Hugo Osvaldo Barrera
cfd5af832a
Fix mixup in the changelog
2021-06-13 16:12:52 +02:00
Hugo Osvaldo Barrera
342cb863cd
Merge remote-tracking branch 'dilyanpalauzov/meta_description'
2021-06-13 16:12:09 +02:00
Hugo Osvaldo Barrera
e1c979751d
Remove legacy GitHub Action workflows
...
Conflicts with our newer pipeline when a tag is pushed.
2021-06-13 16:11:13 +02:00
Hugo Osvaldo Barrera
3191886658
Merge pull request #901 from pimutils/publish
...
Publish tags to PyPI
2021-06-13 15:49:37 +02:00
Hugo Osvaldo Barrera
3260afb495
Publish tags to PyPI
2021-06-13 14:20:28 +02:00
Hugo Osvaldo Barrera
0231f3999e
order is probably less important than the others
2021-06-13 00:52:39 +02:00
Hugo Osvaldo Barrera
d1b148c919
Improve docs for new meta properties
2021-06-13 00:49:27 +02:00
Hugo Osvaldo Barrera
e70e8c03e8
Merge branch 'origin/master' into meta_description
2021-06-13 00:46:05 +02:00
Hugo Osvaldo Barrera
46a49e3481
Merge pull request #900 from pimutils/more-git-optimizations
...
Optimize another very slow test
2021-06-13 00:28:12 +02:00
Hugo Osvaldo Barrera
5e36ca1334
Optimize another very slow test
2021-06-12 23:49:23 +02:00
Hugo Osvaldo Barrera
910317d4bb
Merge pull request #899 from pimutils/faster-tests
...
Faster tests
2021-06-12 23:41:29 +02:00
Hugo Osvaldo Barrera
29c2b6bb4b
git-ignore coverage file
2021-06-12 18:39:28 +02:00
Hugo Osvaldo Barrera
2e4fc7c65a
Drop unecessary hypothesis usage
...
This adds A LOT of time to test execution, for little benefit. While
having random data is good, in reality, most of it was just numbers, and
we rarely got very diverse data.
These hand-picked samples are as good to catch any regressions or issues
with servers.
2021-06-12 18:32:05 +02:00
Hugo Osvaldo Barrera
87f3a594c6
Merge pull request #897 from pimutils/optimise-test-servers
...
Run test servers as fixtures
2021-06-12 17:13:31 +02:00
Hugo Osvaldo Barrera
d95a8264f4
Merge style dependencies into dev dependencies
2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
77d64ddc2c
Always check link as part of building docs
2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
808e01f9c8
DAVDroid is now called DAVx⁵
2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
86535a9db3
Merge test dependencies into dev dependencies
2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
57d662cba1
Drop make target for development packages
...
We no longer track compat with unreleased packages. Too many variations
and too much complexity.
`vdirsyncer` only works with released packages.
2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
8d62ac4279
Pin the maximum version of click
...
We're likely won't be compatible with 9.0.
2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
3bf4bd079d
Tidy up CI build definitions
2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
39ccc168b2
Show a useful help message by default
2021-06-12 16:28:27 +02:00
Hugo Osvaldo Barrera
7b0d6671da
Delete unused variable
2021-06-12 16:28:27 +02:00