Mike Fährmann
d0c1fd0073
[workflows:tests] install yt-dlp from PyPI for PyPy 3.9
...
4e6a693057
2025-10-15 19:29:02 +02:00
Mike Fährmann
c794600821
[workflows:tests] install yt-dlp from PyPI for Python 3.9
...
4e6a693057
2025-10-15 16:07:23 +02:00
Mike Fährmann
9d054ad18d
[workflows:tests] include Python 3.14 & pypy3.11
2025-10-14 14:18:08 +02:00
Mike Fährmann
f5cd1fc884
[workflows] update 'checkout' & 'setup-python' versions
2025-09-11 11:59:09 +02:00
Mike Fährmann
6d928f3805
remove some pre-3.8 workarounds ( #7671 )
2025-06-17 12:56:47 +02:00
Mike Fährmann
6227b64de2
[workflows:tests] include Python 3.7
2025-06-16 12:03:55 +02:00
Mike Fährmann
ecbad03c49
[workflows:tests] run on ubuntu-22.04
...
> Ubuntu 20.04 LTS runner will be removed on 2025-04-01
2025-03-05 20:38:28 +01:00
Mike Fährmann
30ff775382
[workflows:tests] change job name to 'test'
...
… and use alternate list syntax for Python versions
2024-11-10 21:29:48 +01:00
Mike Fährmann
00436d6027
[workflows:tests] include Python 3.13
2024-10-21 09:56:37 +02:00
Mike Fährmann
6c0cce8dff
[build] remove setuptools and requests version restrictions
2024-09-29 12:57:10 +02:00
Mike Fährmann
e1dbb4cbe1
[workflows:tests] restrict Python 3.12 to '3.12.3'
...
The changes from .3 to .4 seem to cause errors when running flake8
2024-06-22 16:18:58 +02:00
Mike Fährmann
612435480a
[workflows:tests] restore Python 3.5 usage
...
https://github.com/actions/setup-python/issues/866
2024-06-02 01:32:54 +02:00
Mike Fährmann
07d962d60a
[workflows:tests] remove Python 3.5
...
currently causing errors in the setup phase:
Error: Could not find a version that satisfies the requirement pip
Error: No matching distribution found for pip
Error: The process '/usr/bin/bash' failed with exit code 1
2024-05-12 16:52:38 +02:00
Mike Fährmann
a01d334feb
[workflows] update to actions/setup-python@v5
2024-03-09 23:32:31 +01:00
Mike Fährmann
f3bc048ff7
allow workflows to be triggered manually
2024-03-03 18:10:55 +01:00
Mike Fährmann
24106d9994
exclude scripts/pyprint.py from linting for Python<3.8
2024-02-27 19:07:52 +01:00
Mike Fährmann
43ca49c1b4
[github] add workflow to build and push docker images
...
heavily inspired by and adapted from
https://github.com/danbooru/danbooru/blob/master/.github/workflows/docker-build.yaml
2023-12-02 17:53:11 +01:00
Mike Fährmann
6c040afe0f
[tests] install yt-dlp from PyPI for Python 3.7
...
f4b95acafc
2023-11-17 15:35:52 +01:00
Mike Fährmann
1671a90077
use Python 3.12 for GitHub Actions
2023-10-14 14:48:40 +02:00
Mike Fährmann
fdcfae347f
do not restrict flake8 version
2023-09-15 14:19:47 +02:00
Mike Fährmann
05f183d7d4
exclude export_tests.py from linting for Python<3.8
2023-09-14 18:49:58 +02:00
Mike Fährmann
23469837cd
attempt to fix file permission tests
2023-06-25 00:48:40 +02:00
Mike Fährmann
3e7ac5ec3a
check file mode bits
...
ensure every file in ./gallery_dl has mode 644
2023-06-19 17:53:40 +02:00
Mike Fährmann
aa731c4298
[ytdl] run yt-dlp tests with latest code from master ( #3989 )
...
Only use PyPI version for Python 3.6, since that's no longer supported
by the current codebase.
2023-05-01 16:42:57 +02:00
Mike Fährmann
a918ce29b5
run tests on ubuntu-20.04
...
and remove Python 3.4, since that's no longer available
on this test runner
2023-01-05 13:33:27 +01:00
Mike Fährmann
708fa3c296
run tests on ubuntu-latest
2023-01-05 13:19:43 +01:00
Mike Fährmann
c8af1f585a
fix pypy version specifier
2022-10-26 15:55:22 +02:00
Mike Fährmann
0e5d2e128b
upgrade actions versions
2022-10-25 15:49:39 +02:00
Mike Fährmann
2952b8891f
test with python 3.11
2022-10-25 15:48:37 +02:00
Mike Fährmann
6ccb18642c
restrict importlib-metadata version for tests
2022-10-03 23:00:01 +02:00
Mike Fährmann
72389658b6
use legacy flake8 for linting
2022-07-31 19:45:21 +02:00
Mike Fährmann
6ad39f2b68
add ytdl tests
...
they only run when youtube-dl or yt-dlp are installed,
i.e. if __import__("<ytdl-package>") succeeds
2022-05-23 18:30:26 +02:00
adamus1red
1efef60350
Add py3.10 to tested python versions ( #2056 )
2021-11-26 20:30:49 +01:00
Mike Fährmann
f2d6b3e6b4
run tests without using 'nose'
...
run_tests.sh -> run_tests.py
2021-10-13 04:07:41 +02:00
Mike Fährmann
0725cfde4f
[tests] pin Ubuntu version to still be able to use Python 3.4
2021-03-18 16:20:05 +01:00
Mike Fährmann
e39aea42cd
fix supportedsites.py for modules without docstring
...
(fixes #1332 )
2021-02-21 22:57:37 +01:00
Mike Fährmann
d6986be8b0
Move CI to GitHub Actions
2020-11-17 19:40:45 +01:00