Š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
d2a94c1cdd
release.py: Add changelog.rst conversion to markdown
2024-06-07 09:01:44 +01:00
Šarūnas Nejus
be778b8da0
release.py: Use click for the CLI
2024-06-05 19:12:50 +01:00
Serene-Arc
c0ef37c46a
Fix error with build workflow using wrong ref
...
Looking at the logs, it's using the ref before the one that increments
the version in the previous action in the workflow. This code is from
https://github.com/actions/checkout/issues/439#issuecomment-965968956
and supposedly fixes this by making it pull specifically from master,
rather than the ref that the workflow was called on.
2024-06-05 19:12:50 +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
Serene
b88c09720c
Add a workflow for easily creating releases ( #4952 )
...
I humbly present a solution our lack of releases: a workflow that can be
triggered to automatically create one. This workflow builds the project,
creates a GitHub release, and publishes beets to PyPi, for a one-stop
solution.
@sampsyo this would make it much easier to create releases, as it
requires only one little interaction: going to the actions tab and
entering a version number. Once that's done, the workflow should take
care of the rest.
I have only tested the `build` job so far, since I can't do anything
about the pypi or do a release just to test, but the code is lifted from
other similar actions and should work fine.
It also requires one piece of setup. This is that PyPi must be set up
with a [trusted publisher](https://docs.pypi.org/trusted-publishers/ ) to
receive the new package. Once that's done, the process should go off
automatically.
2024-05-30 08:57:02 +10:00
Šarūnas Nejus
0e0d9f133f
Use 'pull_request_target' event for the changelog update reminder
...
See https://github.com/marketplace/actions/comment-pull-request#permissions
for more details.
Additionally, refactor the workflow into a more canonical form utilising
the `tj-actions/changed-files` GitHub action.
2024-05-07 16:28:18 +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
J0J0 Todos
2af9a8c863
Fix a typo and reorder enum in PR template
2023-10-30 11:23:08 +01:00
Serene
a9ff449c71
Update .github/workflows/changelog_reminder.yaml
...
Co-authored-by: J0J0 Todos <2733783+JOJ0@users.noreply.github.com>
2023-10-30 11:05:08 +10:00
J0J0 Todos
29c062a81e
Overhaul of pull-request template
...
- Some notes only visible to the contributor while editing.
- Some tiny fixes in the existing texts in braces.
- One of the "invisible" notes encourages to remove those help-texts to
help uncluttering.
2023-10-29 19:48:10 +01:00
Serene-Arc
8d7cb5c595
Change conditions
2023-10-29 18:38:29 +10:00
Serene-Arc
fb6c107025
Update version
2023-10-29 18:38:29 +10:00
Serene-Arc
dbc7ba7b80
Change trigger
2023-10-29 17:59:27 +10:00
Serene-Arc
48695ba8fb
Rename folder
2023-10-29 17:50:08 +10:00
Serene-Arc
dcc5f3a47d
Update workflow
2023-10-29 17:49:28 +10:00
Serene-Arc
8e815049fa
Use different method for calculating changed paths
2023-10-29 12:24:37 +10:00
Serene-Arc
acc61e44a8
Add workflow
2023-10-29 12:24:37 +10:00
Serene-Arc
3800593046
Remove changelog
2023-10-27 17:48:01 +10:00
Serene-Arc
77b5179207
Update release
2023-10-27 17:48:01 +10:00
Serene-Arc
3c4c586fb1
Fix action version
2023-10-27 17:46:48 +10:00
Serene-Arc
860f096fcd
Fix build bug in workflow
2023-10-27 17:46:48 +10:00
Serene-Arc
7924f506ca
Add release workflow
2023-10-27 17:46:48 +10:00
wisp3rwind
0467bf867e
fix formatting_check CI config
2023-10-22 10:54:08 +02:00
Serene-Arc
5177b669b2
Add formatting check workflow
2023-10-22 09:50:33 +10:00
Adrian Sampson
945d917320
Remove Python 3.12-dev CI config
...
Python 3.12 is now released, so this is what "3.x" uses.
2023-10-20 15:53:16 -04:00
wisp3rwind
74e1acf6e3
ci: update python versions
...
(try to) use semver x-ranges in order to avoid needing manual updates of
this in the future
2023-05-07 18:43:43 +02:00
wisp3rwind
d604c7e175
add mypy to actions, but allow failure
2022-12-18 09:09:49 +01:00
Andrew Rogl
af7f29491e
Update pyhon versions
2022-06-13 18:26:30 +10:00
Andrew Rogl
4a9771430e
Try a subversion of 3.11
2022-02-06 09:41:23 +10:00
Andrew Rogl
21dbb04360
Try just py3.11
2022-02-06 08:49:56 +10:00
Andrew Rogl
ec010d4950
Naming and quoting
2022-02-05 22:01:25 +10:00
Andrew Rogl
af5be3dbed
Update CI for latest nightly
2022-02-05 21:55:31 +10:00
Andrew Rogl
400aece2a5
Add quotes around versions
2021-10-06 07:35:05 +10:00
Andrew Rogl
eafef0d521
Versioning
2021-10-05 13:10:09 +10:00
Andrew Rogl
68a1407c67
Update CI to the latest 3.10 release
2021-10-05 13:03:07 +10:00
Adrian Sampson
fcd90bfd20
Use RC version for Python 3.10
...
Apparently, 3.10-dev isn't available anymore?
2021-09-22 10:41:15 -04:00
Adrian Sampson
8f7d522225
CI: Skip optional dependencies on Windows
2021-08-19 17:00:27 -04:00
Adrian Sampson
b467c2c4fc
Drop Python 2.7 and 3.5 from Actions CI matrix
2021-08-19 16:48:58 -04:00
Adrian Sampson
af1eaf5062
Merge remote-tracking branch 'origin/windows-ci' into drop-py2
2021-08-19 16:48:46 -04:00
Adrian Sampson
eadeead565
CI: Freshen apt packages
2021-06-29 09:39:10 -04:00
arogl
7f45131f1a
Update ci.yaml
...
Remove deprecated Python version
2021-05-23 16:28:44 +10:00
Jef LeCompte
e1a901dce5
chore: makes discussions more visible ( #3807 )
2021-04-19 19:37:00 -04:00
Jef LeCompte
50163b373f
ci: scope ci workflow ( #3907 )
2021-04-17 09:51:03 -04:00
wisp3rwind
78808e4654
ci: also run on latest Python alpha, but allow failure
2021-03-23 09:18:56 +01:00
wisp3rwind
68fa03a5eb
ci: install ffmpeg for replaygain tests; show skipped tests
...
We lost the ability to show skipped tests when transitioning to gh
actions. As it turns out, all of the replaygain tests were being
skipped, so as a start, try to install at least one backend.
2021-03-22 19:07:34 +01:00
Adrian Sampson
defe96b132
*Actually* use 3.9 for docs
2021-03-06 16:59:49 -05:00
Adrian Sampson
748e5318b4
Change "main" Python version to 3.9
2021-03-06 16:58:23 -05:00
Jack Wilsdon
a9ba25439f
Add --plugins flag
2020-10-21 23:44:33 +01:00
jtpavlock
c9f59ee38d
Add broken link checker to integration test ( #3703 )
...
* fix broken links
* add link check command to tox
* add link check to the weekly integration test
2020-09-04 15:42:36 -05:00
Jacob Pavlock
657f3d3d49
add windows to github ci
...
Requires use of tox <=3.8.3.
See https://github.com/tox-dev/tox/issues/1550
2020-08-03 13:42:59 -07:00
Jack Wilsdon
490fc07516
Add sphinx problem matcher
2020-08-03 13:23:15 +01:00
Jack Wilsdon
5d24cb0e1d
Include error code in message
2020-08-02 22:41:01 +01:00
Jack Wilsdon
20a228c21b
Add flake8 problem matcher
2020-08-02 22:17:32 +01:00
Jack Wilsdon
6e4207f35a
Merge pull request #3712 from jackwilsdon/zulip-notifications
...
Notify Zulip chat on integration test failure
2020-08-02 16:06:23 +01:00
Jack Wilsdon
c7859ca9c6
Add worfklow_dispatch trigger
...
This change allows us to trigger integration tests manually.
2020-08-02 15:51:15 +01:00
Jack Wilsdon
5f44c3147d
Switch to #github for integration test messages
2020-08-02 15:37:01 +01:00
Jack Wilsdon
c9f9f9691d
Notify Zulip chat on integration test failure
2020-08-02 15:14:50 +01:00
jtpavlock
f73a438dce
Add python 3.9-dev to CI tests ( #3687 )
...
* Add python 3.9-dev to ci tests
* test integration tests on latest versions of python
2020-07-25 15:02:19 -05:00
jtpavlock
d9272fcb88
fix integration test job name
2020-07-13 14:20:20 -05:00
jtpavlock
16fddbaef6
add line break to stale-bot comments
2020-07-11 17:27:37 -05:00
jtpavlock
cc9f4ab251
Add a stale-bot ( #3659 )
...
will apply the `stale` label to any issues and pull requests with >60/120 days inactivity respectively
2020-07-11 15:59:34 -05:00
Jacob Pavlock
f6855cb284
add py_colors to all github workflows
2020-07-07 19:58:27 -07:00
Jacob Pavlock
7427bfbc58
clean github workflows
2020-07-07 19:54:01 -07:00
Jacob Pavlock
f2e7b3fdd7
remove references to nose
2020-07-07 15:28:38 -07:00
Jacob Pavlock
917c7def4e
test commit for windows ci
...
windows seems to be having issues with tox installing depencies
via `.[test]` this is a test to see if removing the inline comment changes anything
2020-07-07 09:37:22 -07:00
Jacob Pavlock
e4284cff55
reverting change to ci for python3.4
...
seems github actions doesn't support python3.4
2020-07-06 18:51:36 -07:00
Jacob Pavlock
dabde74683
nose -> pytest and clean-up tox
2020-07-06 17:03:11 -07:00
Jacob Pavlock
c05ba5c814
add integration test github action
2020-07-05 21:41:22 -07:00
Adrian Sampson
6411a58c80
Slight formatting/wording improvements
2020-06-29 09:08:25 -04:00
jtpavlock
def44e6f88
Update pull_request_template.md
2020-06-28 17:36:40 -05:00
jtpavlock
b458509ba1
spelling
2020-06-28 17:35:08 -05:00
jtpavlock
3282f1565e
Update pull_request_template.md
2020-06-28 17:33:42 -05:00
jtpavlock
c9519c1ef5
Create pull_request_template.md
2020-06-28 17:32:37 -05:00
Adrian Sampson
74ad966528
Run GitHub Actions CI on pull requests too
2020-06-05 10:04:13 -04:00
Jef LeCompte
a96059634c
feat: add codecov to GitHub Actions
2020-06-04 22:09:18 -04:00
Jef LeCompte
f0534090c3
fix: revert add windows to ci
2020-06-04 01:29:52 -04:00
Jef LeCompte
e66cfd58ad
feat: add windows into ci
2020-06-04 01:14:11 -04:00
Jef LeCompte
9c93b4d356
docs: update punctuation
...
Co-authored-by: Adrian Sampson <adrian@radbox.org>
2020-05-27 16:36:27 -04:00
Jef LeCompte
b0f456b3c3
ci: removed windows for now
...
has to do with UnicodeDecodeError
2020-05-25 23:18:59 -04:00
Jef LeCompte
9a67cee95f
ci: added windows
2020-05-25 23:16:40 -04:00
Jef LeCompte
0c3201930c
feat: added github actions
...
only working with linux for now. exact replica of travis basically.
should probably try to implement the rest of tox or deprecate some
functionality.
2020-05-25 19:35:15 -04:00
Carl Suster
df26f2e8f8
Use new GitHub issue template format
...
Inspired by examples at 457e1d0ae0/system/ISSUE_TEMPLATE/
2019-04-27 23:51:32 +10:00
Adrian Sampson
7202b3d413
Slightly more logical instruction placement
2016-02-26 12:15:24 -08:00
Fabrice Laporte
786bfb9168
Update ISSUE_TEMPLATE.md
2016-02-25 23:16:39 +01:00
Adrian Sampson
6f2c495973
Suggest ways to describe problems
2016-02-17 15:51:04 -08:00
Adrian Sampson
05622ba059
Start an issue template
2016-02-17 15:01:24 -08:00