Merge pull request #727 from obsidian-community/create-pull-request/u… #1165
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: python | |
on: | |
push: | |
branches: [ '**' ] | |
pull_request: | |
branches: [ '**' ] | |
jobs: | |
python_tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ./.github/actions/setup-python | |
- uses: ./.github/actions/install-dependencies | |
- name: Run Python tests | |
run: | | |
cd .github/scripts/tests | |
python3 -m pytest -s --verbose | |
- name: Check type hints | |
run: | | |
cd .github/scripts | |
./check_type_hints.sh |