Skip to content

fix CI

fix CI #2

name: Continuous Integration
on: [push, pull_request]
jobs:
lint_and_type_check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: poetry install --no-interaction
- name: Run ruff
run: ruff check snappylapy
- name: Run mypy
run: mypy snappylapy