build(deps): bump certifi from 2021.10.8 to 2024.7.4 in /docs #57
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: [pull_request] | |
jobs: | |
setup: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- uses: actions/setup-python@v2 | |
- uses: snok/install-poetry@v1 | |
with: | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
- uses: syphar/restore-virtualenv@v1 | |
id: cache-virtualenv | |
- run: poetry install | |
tests: | |
needs: setup | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- uses: actions/setup-python@v2 | |
- uses: snok/install-poetry@v1 | |
- uses: syphar/restore-virtualenv@v1 | |
id: cache-virtualenv | |
- run: poetry run pytest --cov=fcmeans | |
linter: | |
needs: setup | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- uses: actions/setup-python@v2 | |
- uses: snok/install-poetry@v1 | |
- uses: syphar/restore-virtualenv@v1 | |
id: cache-virtualenv | |
- run: | | |
poetry run black . --line-length=79 | |
poetry run isort **/*.py -c | |
poetry run flake8 --exclude ".*" |