-
-
Notifications
You must be signed in to change notification settings - Fork 12
29 lines (26 loc) · 667 Bytes
/
test.yml
File metadata and controls
29 lines (26 loc) · 667 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 --ignore-missing-imports aw_watcher_spotify