Commit graph

85 commits

Author SHA1 Message Date
Adrian Sampson
4bf82cd755
Drop Python 2 from Tox config 2021-08-19 16:35:38 -04: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
d329c70338
Use Python 3 for docs 2021-03-06 16:57:22 -05: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
Jack Wilsdon
92f425628d
Skip Genius integration test on GitHub actions 2020-08-02 17:56:22 +01:00
jtpavlock
9291d9c304
Fix rarfile 4.0 dependency conflict (#3711) 2020-08-01 16:35:53 -05:00
Jacob Pavlock
d5e5be5c8e simplify tox.ini 2020-07-07 15:05:40 -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
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
Jef LeCompte
14dc285b4f
chore(flake8): update comment and version 2020-06-04 21:55:47 -04:00
Jef LeCompte
26caef544f
fix: remove --min-version 2020-06-04 01:21:46 -04:00
Jef LeCompte
bf06338cc7
Merge branch 'jef/github-actions' of https://github.com/jef/beets into jef/github-actions 2020-06-04 00:27:08 -04:00
Jef LeCompte
18645ffbe4
chore(tox): revert changes 2020-06-04 00:26:33 -04:00
Jef LeCompte
0068afcb99
feat: add more options to tox 2020-05-26 12:40:23 -04:00
Jef LeCompte
e8693acb6a
docs: elaborated exhaustive list
Co-authored-by: Adrian Sampson <adrian@radbox.org>
2020-05-26 10:40:10 -04:00
Jef LeCompte
9a67cee95f
ci: added windows 2020-05-25 23:16:40 -04:00
Jef LeCompte
9f8bd4cd3f
style: flake8 linting 2020-05-25 20:06:43 -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
Adrian Sampson
edb31f69d0 Remove explicit jellyfish dep from Tox
This is already installed when installing beets, and it's done in a way
that actually gets the right package version for the right Python version.
2020-05-23 09:03:12 -04:00
temrix
88aea76fcb
Add requests_oauthlib to test deps. 2019-09-19 22:35:40 +02:00
Adrian Sampson
23da057ceb tox: Don't use Python 3.8 by default
3.8.0 final is not released yet. This default set is meant to be a
reasonable list for quick iteration during development.
2019-05-09 14:22:48 -04:00
Jack Wilsdon
8df213e9b6
Support Python 3.8 (fixes #3201) 2019-03-31 18:26:22 +01:00
Jack Wilsdon
2564db9055
Lock pep8-naming to 0.7.x 2019-01-31 00:16:11 +00:00
FichteFoll
d0ed5cbb9a
Actually run tests on Python 3.7 2018-09-13 23:42:42 +02:00
Adrian Sampson
66ed015ea0 Add Python 3.7 to Tox and Travis 2018-07-22 12:35:40 -04:00
Jack Wilsdon
ac06be1a5a Add flake8 check for blind excepts
Add flake8 check for blind excepts using flake8-blind-except (B901).
2017-04-29 00:03:45 +02:00
Adrian Sampson
c21f456f03 tox: Use Python 3.6 in default tests
Just typing `tox` should use the most relevant Python versions.
2017-01-20 20:53:05 -08:00
Adrian Sampson
c70a9bb873 Enable Python 3 tests by default in Tox config
Now that we're supporting it, I plan to run the Python 3 tests as part of
my normal coding workflow.
2016-11-26 17:32:49 -05:00
Diego Moreda
1148acaaf1 discogs: revise position regexp, add tests, tox
Revise the regular expression used for extracting information from a
discogs position, making the subtrack_index only be matched if one of
the other groups is matched as well. Split the definition into several
lines in order to try to document it a bit more clearly.
Add unit tests for position parsing and non standard positions.
Fix the underscore on tox dependency.
2016-10-10 17:42:27 +02:00
Diego Moreda
e7f2a111e4 discogs: add test dependencies, fix spelling 2016-10-09 17:57:36 +02:00
Johnny Robeson
bdb2de69bb add python 3.6 to tox.ini 2016-09-16 23:29:29 -04:00
Johnny Robeson
08cd22834b add flake8-coding to our tox config
Now we can enforce that all py files have the coding magic comment with
utf-8.
2016-08-07 04:09:58 -04:00
Adrian Sampson
6a71e4bad4 tox: Add a py35-flake8 environment
This is not on by default, but it's still useful to have around.
2016-07-25 14:58:49 -04:00
Johnny Robeson
b5d22ec7b8 don't install pathlib on py 2.7
Fixes #2105
2016-07-05 22:29:45 -04:00
Johnny Robeson
b564683d59 use -m nose for tests on python 2.x too 2016-07-04 03:00:28 -04:00
Johnny Robeson
e434074bf0 reorganize tox.ini so we can pass -bb to our 3.x tests
It's done this way so the tests don't run twice on py 3.x tests

Thanks to @jackwilsdon for the tip!
2016-07-04 02:57:00 -04:00
Johnny Robeson
2617536294 Remove support for Python 3.3
It doesn't seem like Python 3.3 is worth supporting anymore. I'm not
sure if any popular(ish) distro supports Python 3.3, only 3.2 or >=3.4
2016-06-30 07:15:40 -04:00
Johnny Robeson
5208cfcaed Revert "add six as a new dependency for beets" for now
It will return after the next bugfix release
This reverts commit 705557a5d2.
2016-06-20 00:16:18 -04:00
Johnny Robeson
705557a5d2 add six as a new dependency for beets 2016-06-19 22:55:31 -04:00
Johnny Robeson
ed4ce6214b remove pyechonest from tox config 2016-06-11 03:11:34 -04:00
Adrian Sampson
00dece4dc2 Shorter default envlist for tox (#2035)
Now just typing `tox` or `detox` runs some sensible defaults. (This excludes
Python 3 and coverage.) You can request other environments explicitly with
`-e`.
2016-06-06 11:22:53 -07:00
Jack Wilsdon
fa7afba327 Remove basepython so any version can be used 2016-06-03 02:47:19 +01:00
Jack Wilsdon
85864eb747 Add specific versions for environments in tox 2016-06-03 02:32:09 +01:00
Jack Wilsdon
82df8d18df Update tox configuration
- Add support for Python 3 testing.
 - Add Python 3.3, 3.4 and 3.5 tests to Travis and AppVeyor.
 - Allow arguments to be passed to tox from test matrix.
 - Simplify tox configuration so that we now only have `test`, `flake8`
   and `docs` tasks.
2016-06-03 00:46:02 +01:00
Jack Wilsdon
078a0702d3 Move single line properties to the same line as the key 2016-04-29 18:37:55 +01:00
Jack Wilsdon
144c732ab0 Add flake8 check for pep8 naming
Add flake8 check for pep8 naming using pep8-naming.
2016-04-26 23:33:52 +01:00
Adrian Sampson
53b5faf7a8 Add __future__ import style checker
This adds the [flake8-future-import][f] plugin for flake8, which enforces the
standard set of `__future__` imports at the top of all Python files. This
revealed a fair number of files that need to be fixed.

To be revisited after #1887 is merged.

[f]: https://github.com/xZise/flake8-future-import
2016-04-16 01:26:47 +02:00
wordofglass
0346be701e list skipped tests when running nosetests 2016-04-14 17:14:49 +02:00
Adrian Sampson
fd4a81cf3d Re-enable pypy in tox
This wasn't a problem and my fix didn't work anyway. 😳
2015-07-27 12:23:01 -07:00