Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/mopidy/mopidy-spotify int…
Browse files Browse the repository at this point in the history
…o bug22
  • Loading branch information
girst committed Dec 6, 2020
2 parents 79317af + ea78202 commit 609795f
Show file tree
Hide file tree
Showing 10 changed files with 160 additions and 359 deletions.
10 changes: 8 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ workflows:
version: 2
test:
jobs:
- py39
- py38
- py37
- black
- check-manifest
- flake8

jobs:
py38: &test-template
py39: &test-template
docker:
- image: mopidy/ci-python:3.8
- image: mopidy/ci-python:3.9
steps:
- checkout
- restore_cache:
Expand All @@ -39,6 +40,11 @@ jobs:
- store_test_results:
path: test-results

py38:
<<: *test-template
docker:
- image: mopidy/ci-python:3.8

py37:
<<: *test-template
docker:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release

on:
release:
types: [published]

jobs:
release:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: "Install dependencies"
run: python3 -m pip install build
- name: "Build package"
run: python3 -m build
- uses: pypa/[email protected]
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
Loading

0 comments on commit 609795f

Please sign in to comment.