solve numpy error for numpy above 2.0, set fix version values in plot… #8
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: Lint and test | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ⬇️ | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Setup python 🐍 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies ☕️ | |
run: | | |
pip install -U pip setuptools wheel | |
pip install -r sandboxes/dev.txt | |
- name: Lint 🔍 | |
run: flake8 mlprof | |
typecheck: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ⬇️ | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Setup python 🐍 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies ☕️ | |
run: | | |
pip install -U pip setuptools wheel | |
pip install -r sandboxes/dev.txt | |
- name: Typecheck 🥊 | |
run: mypy mlprof |