New upstream snapshot.
Debian Janitor
2 years ago
0 | |
version: 2.1
|
1 | |
|
2 | |
orbs:
|
3 | |
codecov: codecov/codecov@1.0.5
|
4 | |
|
5 | |
workflows:
|
6 | |
version: 2
|
7 | |
test:
|
8 | |
jobs:
|
9 | |
- py39
|
10 | |
- py38
|
11 | |
- py37
|
12 | |
- black
|
13 | |
- check-manifest
|
14 | |
- flake8
|
15 | |
|
16 | |
jobs:
|
17 | |
py39: &test-template
|
18 | |
docker:
|
19 | |
- image: mopidy/ci-python:3.9
|
20 | |
steps:
|
21 | |
- checkout
|
22 | |
- restore_cache:
|
23 | |
name: Restoring tox cache
|
24 | |
key: tox-v1-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.cfg" }}
|
25 | |
- run:
|
26 | |
name: Run tests
|
27 | |
command: |
|
28 | |
tox -e $CIRCLE_JOB -- \
|
29 | |
--junit-xml=test-results/pytest/results.xml \
|
30 | |
--cov-report=xml
|
31 | |
- save_cache:
|
32 | |
name: Saving tox cache
|
33 | |
key: tox-v1-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.cfg" }}
|
34 | |
paths:
|
35 | |
- ./.tox
|
36 | |
- ~/.cache/pip
|
37 | |
- codecov/upload:
|
38 | |
file: coverage.xml
|
39 | |
- store_test_results:
|
40 | |
path: test-results
|
41 | |
|
42 | |
py38:
|
43 | |
<<: *test-template
|
44 | |
docker:
|
45 | |
- image: mopidy/ci-python:3.8
|
46 | |
|
47 | |
py37:
|
48 | |
<<: *test-template
|
49 | |
docker:
|
50 | |
- image: mopidy/ci-python:3.7
|
51 | |
|
52 | |
black: *test-template
|
53 | |
|
54 | |
check-manifest: *test-template
|
55 | |
|
56 | |
flake8: *test-template
|
|
0 |
name: CI
|
|
1 |
|
|
2 |
on: [push, pull_request]
|
|
3 |
|
|
4 |
jobs:
|
|
5 |
main:
|
|
6 |
strategy:
|
|
7 |
fail-fast: false
|
|
8 |
matrix:
|
|
9 |
include:
|
|
10 |
- name: "Test: Python 3.7"
|
|
11 |
python: "3.7"
|
|
12 |
tox: py37
|
|
13 |
- name: "Test: Python 3.8"
|
|
14 |
python: "3.8"
|
|
15 |
tox: py38
|
|
16 |
- name: "Test: Python 3.9"
|
|
17 |
python: "3.9"
|
|
18 |
tox: py39
|
|
19 |
coverage: true
|
|
20 |
- name: "Lint: check-manifest"
|
|
21 |
python: "3.9"
|
|
22 |
tox: check-manifest
|
|
23 |
- name: "Lint: flake8"
|
|
24 |
python: "3.9"
|
|
25 |
tox: flake8
|
|
26 |
|
|
27 |
name: ${{ matrix.name }}
|
|
28 |
runs-on: ubuntu-20.04
|
|
29 |
container: ghcr.io/mopidy/ci:latest
|
|
30 |
|
|
31 |
steps:
|
|
32 |
- uses: actions/checkout@v2
|
|
33 |
- uses: actions/setup-python@v2
|
|
34 |
with:
|
|
35 |
python-version: ${{ matrix.python }}
|
|
36 |
- name: Fix home dir permissions to enable pip caching
|
|
37 |
run: chown -R root /github/home
|
|
38 |
- name: Cache pip
|
|
39 |
uses: actions/cache@v2
|
|
40 |
with:
|
|
41 |
path: ~/.cache/pip
|
|
42 |
key: ${{ runner.os }}-${{ matrix.python }}-${{ matrix.tox }}-pip-${{ hashFiles('setup.cfg') }}-${{ hashFiles('tox.ini') }}
|
|
43 |
restore-keys: |
|
|
44 |
${{ runner.os }}-${{ matrix.python }}-${{ matrix.tox }}-pip-
|
|
45 |
- run: python -m pip install pygobject tox
|
|
46 |
- run: python -m tox -e ${{ matrix.tox }}
|
|
47 |
if: ${{ ! matrix.coverage }}
|
|
48 |
- run: python -m tox -e ${{ matrix.tox }} -- --cov-report=xml
|
|
49 |
if: ${{ matrix.coverage }}
|
|
50 |
- uses: codecov/codecov-action@v1
|
|
51 |
if: ${{ matrix.coverage }}
|
6 | 6 |
include pyproject.toml
|
7 | 7 |
include tox.ini
|
8 | 8 |
|
9 | |
recursive-include .circleci *
|
10 | 9 |
recursive-include .github *
|
11 | 10 |
|
12 | 11 |
include mopidy_*/ext.conf
|
13 | 13 |
:target: https://pypi.org/project/Mopidy-Beets/
|
14 | 14 |
:alt: Latest PyPI version
|
15 | 15 |
|
16 | |
.. image:: https://img.shields.io/circleci/build/gh/mopidy/mopidy-beets
|
17 | |
:target: https://circleci.com/gh/mopidy/mopidy-beets
|
18 | |
:alt: CircleCI build status
|
|
16 |
.. image:: https://img.shields.io/github/workflow/status/mopidy/mopidy-beets/CI
|
|
17 |
:target: https://github.com/mopidy/mopidy-beets/actions
|
|
18 |
:alt: CI build status
|
19 | 19 |
|
20 | 20 |
.. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets
|
21 | 21 |
:target: https://codecov.io/gh/mopidy/mopidy-beets
|
|
120 | 120 |
Classifier: Programming Language :: Python :: 3.9
|
121 | 121 |
Classifier: Topic :: Multimedia :: Sound/Audio :: Players
|
122 | 122 |
Requires-Python: >=3.7
|
|
123 |
Provides-Extra: dev
|
123 | 124 |
Provides-Extra: lint
|
124 | |
Provides-Extra: release
|
125 | 125 |
Provides-Extra: test
|
126 | |
Provides-Extra: dev
|
5 | 5 |
setup.cfg
|
6 | 6 |
setup.py
|
7 | 7 |
tox.ini
|
8 | |
.circleci/config.yml
|
|
8 |
.github/workflows/ci.yml
|
9 | 9 |
.github/workflows/release.yml
|
10 | 10 |
Mopidy_Beets.egg-info/PKG-INFO
|
11 | 11 |
Mopidy_Beets.egg-info/SOURCES.txt
|
13 | 13 |
:target: https://pypi.org/project/Mopidy-Beets/
|
14 | 14 |
:alt: Latest PyPI version
|
15 | 15 |
|
16 | |
.. image:: https://img.shields.io/circleci/build/gh/mopidy/mopidy-beets
|
17 | |
:target: https://circleci.com/gh/mopidy/mopidy-beets
|
18 | |
:alt: CircleCI build status
|
|
16 |
.. image:: https://img.shields.io/github/workflow/status/mopidy/mopidy-beets/CI
|
|
17 |
:target: https://github.com/mopidy/mopidy-beets/actions
|
|
18 |
:alt: CI build status
|
19 | 19 |
|
20 | 20 |
.. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets
|
21 | 21 |
:target: https://codecov.io/gh/mopidy/mopidy-beets
|
|
120 | 120 |
Classifier: Programming Language :: Python :: 3.9
|
121 | 121 |
Classifier: Topic :: Multimedia :: Sound/Audio :: Players
|
122 | 122 |
Requires-Python: >=3.7
|
|
123 |
Provides-Extra: dev
|
123 | 124 |
Provides-Extra: lint
|
124 | |
Provides-Extra: release
|
125 | 125 |
Provides-Extra: test
|
126 | |
Provides-Extra: dev
|
5 | 5 |
:target: https://pypi.org/project/Mopidy-Beets/
|
6 | 6 |
:alt: Latest PyPI version
|
7 | 7 |
|
8 | |
.. image:: https://img.shields.io/circleci/build/gh/mopidy/mopidy-beets
|
9 | |
:target: https://circleci.com/gh/mopidy/mopidy-beets
|
10 | |
:alt: CircleCI build status
|
|
8 |
.. image:: https://img.shields.io/github/workflow/status/mopidy/mopidy-beets/CI
|
|
9 |
:target: https://github.com/mopidy/mopidy-beets/actions
|
|
10 |
:alt: CI build status
|
11 | 11 |
|
12 | 12 |
.. image:: https://img.shields.io/codecov/c/gh/mopidy/mopidy-beets
|
13 | 13 |
:target: https://codecov.io/gh/mopidy/mopidy-beets
|
|
0 |
mopidy-beets (4.0.1+git20210102.1.d5b1b91-1) UNRELEASED; urgency=low
|
|
1 |
|
|
2 |
* New upstream snapshot.
|
|
3 |
|
|
4 |
-- Debian Janitor <janitor@jelmer.uk> Thu, 23 Sep 2021 02:42:37 -0000
|
|
5 |
|
0 | 6 |
mopidy-beets (4.0.1-1) unstable; urgency=medium
|
1 | 7 |
|
2 | 8 |
* New upstream release
|
0 | 0 |
[tox]
|
1 | |
envlist = py37, py38, py39, black, check-manifest, flake8
|
|
1 |
envlist = py37, py38, py39, check-manifest, flake8
|
2 | 2 |
|
3 | 3 |
[testenv]
|
4 | 4 |
sitepackages = true
|
|
9 | 9 |
--cov=mopidy_beets --cov-report=term-missing \
|
10 | 10 |
{posargs}
|
11 | 11 |
|
12 | |
[testenv:black]
|
13 | |
deps = .[lint]
|
14 | |
commands = python -m black --check .
|
15 | |
|
16 | 12 |
[testenv:check-manifest]
|
17 | 13 |
deps = .[lint]
|
18 | 14 |
commands = python -m check_manifest
|