Merge pull request #123 from Juliaria08/api_improvements #246
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: Astrobotany | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.7 | |
- name: Install packages | |
run: | | |
pip install . | |
pip install .[test] | |
sudo apt-get install timidity | |
- name: Lint with mypy | |
run: | | |
mypy --ignore-missing-imports --exclude build . | |
- name: Run tests | |
run: | | |
pytest -v tests/ |