Skip to content

fix(deps): update dependency spotipy [security] #391

fix(deps): update dependency spotipy [security]

fix(deps): update dependency spotipy [security] #391

Workflow file for this run

name: CI
on:
push:
branches: [master]
paths:
- 'dotify/**/*.py'
- 'tests/**/*.py'
- 'examples/**/*.py'
- 'pyproject.toml'
- 'poetry.lock'
pull_request:
branches: [master]
paths:
- 'dotify/**/*.py'
- 'tests/**/*.py'
- 'examples/**/*.py'
- 'pyproject.toml'
- 'poetry.lock'
jobs:
tox:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.7, 3.8, 3.9]
exclude:
- platform: windows-latest
python-version: 3.8
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: abatilo/actions-poetry@v2.1.4
with:
poetry-version: 1.1.6
- name: Configure Poetry
run: |
poetry config virtualenvs.in-project true
- name: Set up cache
uses: actions/cache@v2.1.6
with:
path: |
.tox
.venv
key: ${{ matrix.platform }}-tox-venv-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
run: |
poetry install
- name: Test with tox
env:
SPOTIFY_ID: ${{ secrets.SPOTIFY_ID }}
SPOTIFY_SECRET: ${{ secrets.SPOTIFY_SECRET }}
run: poetry run python -m tox