Šarūnas Nejus
dc33932871
Update python version references
2025-11-08 12:09:52 +00:00
Šarūnas Nejus
e76665bcfb
Do not support 3.14 for now, until we drop 3.9 in a couple of days
2025-10-28 10:26:34 +00:00
Šarūnas Nejus
fdc6d6e787
Revert "Try env var"
...
This reverts commit e30f7fbe9c .
2025-10-27 08:55:08 +00:00
Šarūnas Nejus
e30f7fbe9c
Try env var
2025-10-27 08:45:19 +00:00
Šarūnas Nejus
3eb68ef830
Use cross-platform shutil.get_terminal_size to get term_width
...
This fixes Python 3.14 incompatibility.
2025-10-27 08:23:37 +00:00
Šarūnas Nejus
1ea3879aae
Upgrade librosa and audioread
2025-10-27 08:23:37 +00:00
Martin Atukunda
3ccc91d4d4
Drop 3.13 from python-version for now.
2025-10-19 01:53:17 +01:00
Martin Atukunda
e61ecb4496
fix(github/workflows): update to checkout v5, and setup-python v6.
...
* also run ci against python 3.13, which is default in debian trixie.
2025-10-19 01:53:17 +01:00
Šarūnas Nejus
61755ada9b
CI: cancel previous workflow runs when new commit is pushed
2025-08-10 14:05:56 +01:00
Šarūnas Nejus
15b0c052b6
Add sphinx-lint and run it in CI
2025-08-10 14:04:42 +01:00
Šarūnas Nejus
84df87c665
Upload test results to codecov
2025-08-09 15:27:17 +01:00
Šarūnas Nejus
24ae1a765b
Make cov setup a bit more useful and upgrade cov upload action
2025-08-09 15:11:59 +01:00
Sebastian Mohr
73dda4f7f8
Added dependencies for all failed plugins
2025-08-09 13:17:27 +02:00
Šarūnas Nejus
62bbd187a9
Bump tj-actions/changed-files
2025-07-17 13:30:34 +01:00
Šarūnas Nejus
ada672b759
Do not install not required apt deps in ci
2025-07-16 14:30:03 +01:00
Šarūnas Nejus
46318a113c
Install gstreamer1.0-plugins-base, python3-gst-1.0 for bpd
2025-07-16 14:06:35 +01:00
Šarūnas Nejus
8dcc69e6d8
Replace _assert_image_operated
2025-07-09 09:21:52 +01:00
Šarūnas Nejus
9926a1ac3c
Revert "Try using threeal/pipx-install-action@v1.0.0 for CI tests"
...
This reverts commit ab9b2e0b69 .
2025-06-29 13:43:48 +01:00
Šarūnas Nejus
ab9b2e0b69
Try using threeal/pipx-install-action@v1.0.0 for CI tests
...
I have reported the issue with BrandonLWhite/pipx-install-action@v1.0.3
failing on Windows here:
https://github.com/BrandonLWhite/pipx-install-action/issues/62
2025-06-24 12:08:33 +01:00
Šarūnas Nejus
d5bd24bb64
Update pipx-install-action to fix caching errors
2025-06-24 12:08:33 +01:00
wisp3rwind
fd383ead51
ci: run with fetchart dependencies (Pillow)
...
at least in the with-coverage tests
2025-05-20 09:00:04 +02:00
wisp3rwind
ff22da0691
install imagemagick in CI environment
2025-05-20 09:00:04 +02:00
Šarūnas Nejus
80cf9ea888
Update pipx-install-action action version
2025-05-14 10:42:07 +01:00
Šarūnas Nejus
16a6cb1340
Update dependencies
...
And thus address the following security vulnerabilities: https://github.com/beetbox/beets/security/dependabot
2025-05-07 10:24:05 +01:00
Fabio Alessandro Locati
4b04d0e7c8
Update python to current supported versions.
2025-03-24 22:12:58 +01:00
Šarūnas Nejus
35dcfe508a
Configure integrated lyrics tests to only run on lyrics code changes
2025-01-19 01:48:03 +00:00
Šarūnas Nejus
fc49902f3a
Refactor lyrics backend tests to use pytest fixtures
...
- Replaced unittest.mock with pytest fixtures for better test isolation and readability.
- Simplified test cases by using parameterized tests.
- Added `requests-mock` dependency to `pyproject.toml` and `poetry.lock`.
- Removed redundant helper functions and classes.
2025-01-19 01:33:15 +00:00
Šarūnas Nejus
044712b796
Add now missing libcairo dependency
...
Thanks GitHub for breaking workflows out of thin air.
2025-01-13 06:58:30 +00:00
Šarūnas Nejus
5fc92c98da
Make sure release script is tested on Ubuntu
2025-01-12 05:12:29 +00:00
Šarūnas Nejus
eb557f720d
Resolve all URLs for markdown
2024-12-28 07:26:04 +00:00
Šarūnas Nejus
7b9625bc86
Test rst to md conversion
2024-12-28 07:24:22 +00:00
Šarūnas Nejus
7be8f9c97a
Update CI config, minimum ruff version, docs and add changelog note
2024-12-10 06:10:03 +00:00
Šarūnas Nejus
db71444fe7
Disable OIDC for coverage uploads from forks
...
This is based on the following comment:
https://github.com/codecov/codecov-action/issues/1594#issuecomment-2394913029
2024-11-23 01:13:16 +00:00
Šarūnas Nejus
6180ce1973
Revert "ci: Replace pull_request with pull_request_target"
...
This was a very bad idea since this made CI operate within the context
of the *base* branch, which meant that the tests were testing code in
the `master` branch instead of the branch that was to be merged!
2024-10-30 12:27:44 +00:00
Šarūnas Nejus
9023ff5fd4
ci: Replace pull_request with pull_request_target
...
This makes the coverage token available in forks.
2024-10-20 17:05:44 +01:00
Šarūnas Nejus
06ca500ff2
Do not install reflink for tests on Windows
2024-09-04 18:56:19 +01:00
Šarūnas Nejus
111686e563
autobpm: add tests
2024-08-19 22:44:17 +01:00
Šarūnas Nejus
29da72b1d9
Show source files on codecov
...
While the commit merged yesterday fixed the coverage upload to
coveralls, it broke the source files preview on the platform.
This was due to the missing actions/checkout step in the coverage upload
job.
2024-06-16 18:24:48 +01:00
Šarūnas Nejus
3e075f2a9a
Add 'test-with-coverage' command
...
And do not measure coverage by default.
2024-06-15 23:52:18 +01:00
Šarūnas Nejus
30d345dd7d
Try fixing coverage
2024-06-15 10:07:29 +01:00
Šarūnas Nejus
49e6012398
Try fixing testing workflow
2024-06-15 09:19:54 +01:00
Šarūnas Nejus
b00a83c229
Partially revert "Simplify logic ci.yaml"
...
This reverts commit 913f85620dc1d68aed87e19ed1f8f2126f483cad.
2024-06-10 13:46:26 +01:00
Serene
4494acd515
Simplify logic ci.yaml
...
Changed the logic so that it isn't testing repeatedly for the correct matrix version, and since we're using poetry instead of pipx, changed the action
2024-06-10 13:46:25 +01:00
Šarūnas Nejus
4a8e6e961f
Update workflows
2024-06-10 13:46:25 +01:00
Šarūnas Nejus
bfd9753314
Remove tox
...
Unfortunately tox does not play very nicely with Poetry. Tox was mostly
useful since it managed virtual environments, however now this is done
by Poetry.
Thus we do not anymore need it since we can run our commands using
`poetry run`. I have extended the internal helper tool 'project' with
those commands that have previously been run using tox.
2024-06-10 13:46:25 +01:00
Šarūnas Nejus
e30ee3f490
Update workflows
2024-06-10 13:10:16 +01:00
Šarūnas Nejus
90263a9e9e
Use poetry in workflows
2024-06-10 13:10:16 +01:00
Šarūnas Nejus
65bfbda9e7
Remove windows windows/tox specific instructions
...
On Python 3.8 this is irrelevant since in all cases tox v4 will be
installed which works fine.
2024-06-05 04:41:02 +01:00
Šarūnas Nejus
0aa361e6c8
Remove support for Python 3.7 in the build and docs
2024-06-05 04:41:02 +01:00
Šarūnas Nejus
8b4983fe7c
Add pytest and coverage configuration
...
Add `pytest-cov` which automatically measures coverage while tests are
executing and update tox and ci build configuration accordingly.
Add configuration for coverage:
1. Enable analysing logical branches
2. Save coverage details as HTML for local development use
3. Configure the HTML output to include coverage context: on the
right-hand side of each covered code line there is an expandable
section which lists every test that ran that line.
2024-05-04 10:24:28 +01:00