Skip to content

Update graphs.py

Update graphs.py #56

Workflow file for this run

name: build
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
on: [push, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
name: Python ${{ matrix.python-version }} sample
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: sudo apt install -y graphviz
- run: python --version
- run: pip install --upgrade pip
- run: pip install pytest matplotlib pandas scikit-learn graphviz
- run: pytest -rP -p no:cacheprovider
- run: pip install ipython
- run: pytest -rP -p no:cacheprovider
ruff:
runs-on: ubuntu-latest
name: Run ruff
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install dependencies
run: pip install ruff
- name: Run ruff
run: cd ./src && ruff check .
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install dependencies
run: pip3 install -U pip mypy
# types-Deprecated types-PyYAML types-requests types-simplejson isort types-pytz types-python-dateutil types-orjson
- name: Run mypy cdd
run: mypy ./src