Fixed bug when playing local files #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
pip install poetry | |
poetry install | |
- name: Check that it's correctly installed | |
run: | | |
poetry run which aw-watcher-spotify | |
poetry run python3 -c 'import aw_watcher_spotify' | |
- name: Typecheck with mypy | |
run: | | |
poetry run mypy --install-types | |
poetry run mypy --ignore-missing-imports aw_watcher_spotify |