Commit graph ytmusicapi/.github/workflows
Author SHA1 Message Date
sigma67
e41e1a37d7
Fix 721 (#725)
* update dev-dependencies

* fix INP001

* fix #721

* add test

* format
2025-01-17 18:56:07 +01:00
sigma67
0042e7d108 always upload coverage 2024-12-19 17:10:16 +01:00
sigma67
f7574237be add test analytics 2024-12-19 16:56:10 +01:00
sigma67
b86654fbaf
Added Lyrics w. Timestamps #662 (#693)
* Added Lyrics w. Timestamps

Added `get_lyrics_with_timestamps` to get lyrics with timestamps.
The Method doesn't try to parse the response as normal lyrics, if no lyrics with timestamps are returned. (could be changed to do so tho, the format is the same)

* Update browsing.py

* Combined both get_lyrics methods into one and fixed some typechecking errors

* Fixed a missing hasTimestamps and added the doccomments to the overloads, because vscode didn't show them otherwise

* Removed the old get_lyrics_with_timestamps method

because idk where it came from...

* fixed remaining issues

* Update uploads.py

reverted some changes that I moved to an extra PR

* removed variable `context` from the Mixin, as it's use was replaced by `yt.as_mobile()`

* fix some formatting complaints by ruff and mypy

* please the linter

* fix union syntax

* improve typing in ytmusic.py

* improve typing

* replace docsbuild.yml with RTD

---------

Co-authored-by: Hendrik Horstmann <65970327+heinrich26@users.noreply.github.com>
Co-authored-by: henrich26 <hendrik-horstmann@o2mail.de>
2024-12-17 22:12:06 +01:00
github-actions[bot]
160d2664c8
chore: Update pdm.lock (#636)
* chore: Update pdm.lock

* bump lock and actions

---------

Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com>
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-12-16 22:38:03 +01:00
sigma67
09ca398719
fix #642: create_playlist: raise error when invalid characters are pa… (#652)
* fix #642: create_playlist: raise error when invalid characters are part of playlist title

* add test

* fix CI helper

* fix CI helper

* adjust workflow
2024-10-05 11:31:11 +02:00
sigma67
7b96ac2c5e
Update pdm.yml cron 2024-09-16 08:42:34 +02:00
sigma67
14ae7852ea
coverage: remove code for old playlist format (#619)
* coverage: remove temporary code for new playlist format

* fix flaky search test

* improve rate_song coverage

* test invalid order raise

* fix workflow
2024-07-13 21:18:19 +02:00
sigma67
828b1b9810
drop 3.8, add pytest-retry (#592)
* drop 3.8, add pytest-retry

* fix mypy

* fix missing import
2024-07-13 20:40:50 +02:00
sigma67
05cb3caf4a
fix some more tests 2024-07-03 22:05:50 +02:00
Ricardo Mendonça Ferreira
11823d6387
edit_playlist(): Allow moving title to bottom of playlist (#602)
* Allow moving title to bottom of playlist

* test_edit_playlist fixed & extended

* add labeled coverage workflow run for external PRs

* add labeled coverage workflow run for external PRs

* add labeled coverage workflow run for external PRs

* add another pr target workflow

---------

Co-authored-by: Ricardo <ric.ce.br@gmail.com>
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-06-17 18:24:39 +02:00
github-actions[bot]
0ba103e6ef
chore: Update pdm.lock (#558)
* chore: Update pdm.lock

* update deps

---------

Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com>
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-05-04 09:52:42 +02:00
sigma67
6365e23422 fix pdm dependencies action actions/checkout version 2024-03-01 20:49:11 +01:00
sigma67
7ffe990c93 add token to coverage.yml 2024-02-22 20:47:15 +01:00
sigma67
98e0bc749c
update actions 2024-02-04 19:16:03 +01:00
sigma67
170eea358d add brand account setup script (#520) 2024-02-04 17:03:59 +01:00
sigma67
06ff2b8377
increase coverage precision 2024-01-11 21:00:54 +01:00
sigma67
2c707f206a
update workflows 2024-01-11 20:43:07 +01:00
sigma67
b60bcd7675
add glob to workflow paths 2024-01-11 18:00:57 +01:00
sigma67
87b7ad6201
make workflows conditional on changeset 2024-01-10 21:30:14 +01:00
sigma67
dcddfa562b
fix #504 (#506)
* run mypy on 3.8

* fix #504
2024-01-06 10:02:25 +01:00
sigma67
4d5c9e0a88
change default branch to main 2024-01-03 21:23:05 +01:00
sigma67
9506bfd6d5
fix #501 (#502)
* fix #501

* enable tests on PR
2024-01-03 21:15:00 +01:00
sigma67
69dd4a9f2f test restructuring via pytest 2024-01-02 22:09:22 +01:00
sigma67
dc5bce5ff9
update pythonpublish.yml 2024-01-01 19:45:37 +01:00
sigma67
70a260b516 add mypy 2023-12-31 20:13:45 +01:00
sigma67
1fd93dcfb6
Ruff lint (#496)
* add ruff, pdm

* update .gitignore

* format

* test

* check failure

* fix constants.py
2023-12-31 12:54:07 +01:00
sigma67
ec02876874
fix workflow 2023-12-31 11:39:48 +01:00
sigma67
5a50c06588
update coverage.yml 2023-05-21 20:35:31 +02:00
sigma67
4d5e4b7116
update docsbuild.yml 2023-05-01 17:07:41 +02:00
sigma67
2825e734c5
update coverage.yml
run only on branches, not tags
2023-04-20 09:43:51 +02:00
sigma67
f56bef27cd update pythonpublish.yml 2023-04-05 23:41:57 +02:00
sigma67
0cb14450d4 Update coverage.yml 2023-04-05 23:41:57 +02:00
sigma67
308eda0dbb Update coverage.yml 2023-04-05 23:41:57 +02:00
sigma67
34ad3c4c30 Update coverage.yml 2023-04-05 23:41:57 +02:00
sigma67
5526de0461 CI: add OAUTH_JSON secret 2023-04-05 23:41:57 +02:00
sigma67
0ee3b7fdb5 implement oauth authentication (#10) 2023-04-05 23:41:57 +02:00
sigma67
28ae6b6c7a
CI: run workflows on PRs 2023-04-05 00:21:50 +02:00
sigma67
92fd2c0dd2
require Python 3.8 2022-10-01 17:12:28 +02:00
sigma67
3ea2aa2ff2
update coverage action 2022-09-26 14:36:32 +02:00
sigma67
b7a3e7544d
use pyproject.toml for build 2022-09-23 11:12:02 +02:00
sigma67
b94f5f02e3
Add workflow for code coverage 2020-05-19 17:40:15 +02:00
hematogender
00de10f338 Move docsbuild.yml to workflows folder 2020-05-05 14:50:11 +03:00
sigmatics
8cc1986f8c
Update pythonpublish.yml 2020-02-29 22:22:08 +01:00
sigmatics
72b0c4f8cb
Update pythonpublish.yml 2020-02-29 22:15:12 +01:00
sigmatics
8ab5ccb0e4
Create pythonpublish.yml 2020-02-29 21:56:01 +01:00