Skip to content

add dev dependencies in pyproject.toml #5

add dev dependencies in pyproject.toml

add dev dependencies in pyproject.toml #5

Workflow file for this run

name: crate_db checks
on: [push, pull_request]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Lint with flake8
run: |
pip install flake8
flake8 crate_db tests
- name: Run tests
run: |
poetry run pytest