Merge pull request #124 from michael-lazar/linters #250
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: | |
- name: Check out repository | |
uses: actions/checkout@v2 | |
- name: Install python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Run pre-commit checks | |
uses: pre-commit/[email protected] | |
- name: Run bootstrap | |
run: tools/bootstrap | |
- name: Install timidity | |
run: sudo apt-get install timidity | |
- name: Run mypy | |
run: tools/mypy | |
- name: Run pytest | |
run: tools/pytest |