try other commit action #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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
style: | |
name: Check style with ruff | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: style | |
run: | | |
pip3 install ruff==0.3.5 | |
ruff check . | |
ruff format --check . | |
pyright: | |
name: Typechecking with pyright | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: pyright | |
run: | | |
pip install pyright . | |
pyright bofire_converters | |
- name: pyright test | |
run: | | |
pip install pytest | |
pyright test |