Update dependencies #79
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: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12.6' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run tests | |
run: coverage run --branch --source=denoising_inpainting_lbp/ --omit=**/__init__.py -m pytest | |
- name: Show coverage report | |
run: coverage report | |
- name: Run linter | |
if: always() | |
run: pylint denoising_inpainting_lbp/ | |
- name: Run type checker | |
if: always() | |
run: mypy denoising_inpainting_lbp/ |