Fix broken import of BaseSettings for pydantic v2 #247
Workflow file for this run
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 & Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
lint_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🏷️ | |
uses: actions/checkout@v2 | |
- name: Install Python 🐍 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.7' | |
architecture: 'x64' | |
- name: Install dependencies ⚙️ | |
run: | | |
python -m pip install --upgrade pip | |
pip install .[dev] | |
- name: Log Python environment ✏️ | |
run: | | |
pip freeze | |
- name: black ◼️ | |
run: invoke black | |
- name: flake8 ❄️ | |
run: invoke flake8 | |
- name: mypy 🧐 | |
run: invoke mypy | |
- name: pytest tests 👓 | |
run: | | |
pushd test/ | |
invoke test | |
popd | |
- name: pytest benchmark 📈 | |
run: invoke benchmark | |
- name: pytest tests h5py==2.9 🕶️ | |
run: | | |
pip install h5py==2.9 | |
pushd test/ | |
invoke test | |
popd | |
- name: sphinx build 🐪 | |
run: invoke doc | |
- name: check-manifest 📰 | |
run: check-manifest |