Skip to content

add ci pipeline

add ci pipeline #4

Workflow file for this run

name: Lint and Build
on: push
jobs:
lint_and_build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository ๐Ÿ›Ž๏ธ
uses: actions/checkout@v4
- name: Install Python 3.10 ๐Ÿ
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Set up runner ๐Ÿ“ฆ
run: pip install -r requirements.txt -r requirements-dev.txt
- name: "Black: Code Formatting ๐Ÿ‘ฎ๐Ÿฝโ€โ™€๏ธ"
run: black --check medconb_client.py
- name: "Pylama: Linting ๐Ÿงน"
run: ruff check medconb_client.py
- name: "Mypy: Type checking ๐Ÿ‘ฎ๐Ÿฝโ€โ™€๏ธ"
run: mypy medconb_client.py
- name: Build ๐Ÿ—๏ธ
run: python -m build