lilydjwg
afad2f08f2
tests: skip hg test as it keeps timing out
2024-11-03 18:51:04 +08:00
lilydjwg
728dcca1bd
update tests
2024-11-03 18:36:46 +08:00
lilydjwg
89b4cd90ba
tests: use asyncio_default_fixture_loop_scope = "session"
...
See also https://github.com/pytest-dev/pytest-asyncio/issues/924 .
2024-11-03 18:30:54 +08:00
lilydjwg
4eb70a0fbe
github: add option to use release name instead of tag
...
fixes #278
2024-11-03 18:24:54 +08:00
lilydjwg
5b561456ae
update tests
2024-09-27 12:36:44 +08:00
Ilaï Deutel
d5cc276000
crates.io: skip pre-releases, list option
...
This adds a `use_pre_release` option and adds support for list option for crates.io, similar to PyPI.
2024-09-27 00:10:21 -04:00
imlonghao
e4cff0b507
anitya: support to use anitya ID
2024-08-08 23:13:47 +08:00
lilydjwg
a1ab77f92a
Merge remote-tracking branch 'origin/pr/275'
2024-07-14 16:40:47 +08:00
lilydjwg
5a3ca69c1c
update tests
2024-07-14 16:40:25 +08:00
Bert Peters
5677c9595e
Add launchpad source
2024-07-13 14:54:46 +02:00
lilydjwg
61ca3c95d0
pypi: fix handling of invalid versions
...
fixes #273 .
2024-06-01 16:34:36 +08:00
lilydjwg
2800f392d9
Merge remote-tracking branch 'origin/master'
2024-05-19 15:19:55 +08:00
lilydjwg
6af59aa2ae
test_ubuntupkg: update and make it more resilient
2024-05-19 12:16:02 +08:00
Chih-Hsuan Yen
8397cbbce0
pypi: support list options
2024-05-19 12:10:40 +08:00
lilydjwg
5db6a89fc3
test_ubuntupkg: update and make it more resilient
2024-05-11 14:15:37 +08:00
lilydjwg
9f6706e0e7
tests: fix dep on httpbin
2024-05-11 14:15:37 +08:00
Mario Rodas
67ccc10f17
fix: correct try/except statement
...
Otherwise, it fails because Python can't find the `jq` exception.
2024-04-18 04:20:00 +00:00
lilydjwg
be8967b1d2
tests: missing assert statements
2024-04-17 16:49:00 +08:00
Chih-Hsuan Yen
c306b44711
tests: update Debian package versions again
2024-04-08 14:31:24 +08:00
rocka
47ce6fc2e4
feat: add jq source ( #261 )
...
feat: add jq source to parse json
2024-03-31 16:10:09 +08:00
Chih-Hsuan Yen
beceadddee
tests: update Debian package versions
2024-03-24 11:45:49 +08:00
lilydjwg
de1a3c6fc2
record rich results in verfile and get rid of Result & VersData types
...
Use RichResult to replace Result; Result was RichResult plus entry name.
2024-03-14 18:30:15 +08:00
David Arnold
f29bdee6a3
feat: return full results from result processing
2024-03-14 10:40:25 +01:00
lilydjwg
471b66ff4c
tests: use pytest-rerunfailures instead of flaky
...
flaky is no longer compatible with pytest 8.0 and seems unmaintained.
https://github.com/pytest-dev/pytest/issues/12066
2024-03-09 20:23:25 +08:00
lilydjwg
4ec12d30fd
mercurial: tests: update asyncio mark
2024-03-09 19:59:01 +08:00
lilydjwg
1005bd5f01
mercurial: update tests
2024-03-09 19:19:06 +08:00
lilydjwg
4ad3bdb95d
go: style: unify indentation etc
2024-03-09 18:48:47 +08:00
lilydjwg
5227df6f5b
Merge remote-tracking branch 'origin/pr/170'
2024-03-09 18:44:04 +08:00
yingziwu
0e0eb2c363
feat: add go pkg support ( #259 )
2024-03-09 18:41:20 +08:00
lilydjwg
1e5de6cbcb
support using prefix and from_pattern/to_pattern at the same time
...
closes #249 .
2024-02-27 13:52:35 +08:00
Bian Jiaping
fac30d46d9
Fix container test for multi-arch images
2023-12-18 14:58:56 +08:00
Chih-Hsuan Yen
4ca61ba11a
tests: fix for pytest-asyncio 0.23
2023-12-09 20:38:00 +08:00
moui0
918457afed
tests: bump example and xml2 version
2023-12-07 06:01:56 +01:00
Bian Jiaping
4833135f87
container source plugin supports watching update of a specified tag ( #243 )
...
container source plugin supports watching update of a specified tag. Resolve #241
2023-12-02 23:45:25 +08:00
Daniel Peukert
5a6fee2817
fix pacman test
2023-10-18 01:59:43 +02:00
lilydjwg
5dcb3bc36a
tests: update
2023-10-14 15:19:13 +08:00
lilydjwg
2683f47e04
update tests: give up deepin as it times out frequently
2023-08-26 10:23:40 +08:00
lilydjwg
0a90d195d1
update tests
2023-08-26 10:17:40 +08:00
Daniel Peukert
5052d82550
github: implement option to include prereleases
2023-08-25 23:23:30 +02:00
Chih-Hsuan Yen
386d05f8e3
tests: skip testing with broken Deepin mirror
2023-08-22 19:51:16 +08:00
Chih-Hsuan Yen
07cddd9bd6
tests: fix tests with httpbin 0.10.0
...
The latest httpbin changes the format of JSON response. For example:
```
{
"authenticated": true,
"user": "username"
}
```
2023-08-22 18:44:51 +08:00
Chih-Hsuan Yen
598bb94135
tests: update Android SDK version
2023-08-22 18:40:01 +08:00
Eric Long
fe1342e9fb
tests: bump android-sdk-cmake and xml2 version
2023-07-13 16:54:24 +08:00
Chih-Hsuan Yen
d9888cc49d
Fix test_alpmfiles in Arch chroots
...
In general, there are no /var/lib/pacman/sync/*.files in Arch chroots,
and thus tests in test_alpmfiles.py fail.
The tempfile approach roughly follows tests/test_alpm.py.
Follow-up https://github.com/lilydjwg/nvchecker/pull/226
2023-06-19 22:06:47 +08:00
lilydjwg
e708d19d35
tests: update test_htmlparser to avoid httpbin.org
...
it produces a lot of 504 errors.
2023-06-02 00:58:24 +08:00
Pekka Ristola
8157e08b59
Add alpmfiles source
...
Rewritten from the `archfiles` source in archlinuxcn/lilac
2023-05-31 21:29:17 +03:00
lilydjwg
af77af34f3
fight mypy[1]
...
The following error will be reported without if:
error: Name "tomllib" already defined (by an import)
While this can be silenced by a "# type: ignore", in some case[2] mypy
will report the following error:
error: Unused "type: ignore" comment
[1]: https://github.com/python/mypy/issues/1153
[2]: https://github.com/lilydjwg/nvchecker/actions/runs/4916840821/jobs/8793454970
2023-05-09 13:31:11 +08:00
lilydjwg
e9ecbd514b
silence mypy for new module
2023-05-08 23:28:20 +08:00
Felix Yan
34e87db8f9
Use tomllib on Python 3.11+
...
Fallback to tomli for compatibility with older Python.
2023-05-08 10:52:27 +03:00
Alexandru Fikl
fed4fc52ff
test_cran: bump xml2 version to pass test
2023-05-01 09:59:16 +03:00