bump #30
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: [master, dev] | |
pull_request: | |
branches: [master, dev] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.8", "3.9", "3.10"] | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install deps | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install pytest pytest-cov flake8 mypy | |
- name: Run flake8 | |
run: python -m flake8 . | |
- name: Run mypy | |
run: python -m mypy --install-types --non-interactive anicli_ru/ | |
- name: Run tests | |
run: python -m pytest | |
- name: Coverage | |
uses: codecov/codecov-action@v3 |