Skip to content

Updated workflows

Updated workflows #75

Workflow file for this run

name: Tests
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
workflow_dispatch:
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install dependencies
run: pip install --editable .[dev,redis,mongo,sqlalchemy]
- name: Lint code
run: make lint
- name: Check installable
run: |
pip install build
python -m build --wheel
mkdir try_install
cd try_install
python -m venv .venv
.venv/bin/pip install ../dist/*.whl
.venv/bin/python -c "import aiogram_broadcaster;print(aiogram_broadcaster.__version__)"