Add more packages to CI install step #4
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ci-tests-${{ github.ref }}-1 | |
cancel-in-progress: true | |
jobs: | |
ci: | |
name: Build, Lint, Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install Test, Coverage, Lint, Type Checking Dependencies | |
run: | | |
pip install pytest pytest-mock pylint mypy coverage | |
pip install -e ".[test]" | |
- name: Run Linter | |
run: pylint plover_1password | |
- name: Run Type Checker | |
run: mypy plover_1password | |
- name: Run Tests | |
run: pytest | |
- name: Run Coverage | |
run: | | |
coverage run --module pytest | |
coverage report --show-missing |