This repository has been archived by the owner on Jul 6, 2024. It is now read-only.
fix: build_event_from_subscriptions
as common eventbus feature and …
#22
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: ci | |
on: | |
push: {} | |
workflow_dispatch: {} | |
jobs: | |
ci: | |
name: ci | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python for Poetry | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install poetry | |
run: | | |
python -m pip install -U poetry pip | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
cache: "poetry" | |
- name: Install dependencies | |
run: | | |
poetry install -n | |
- name: Lint | |
run: | | |
set -x | |
poetry run isort pyeventbus | |
poetry run black pyeventbus | |
poetry run pylint pyeventbus | |
poetry run pyright pyeventbus | |
git diff --exit-code | |
- name: Test | |
run: | | |
poetry run pytest pyeventbus -vvv --color=yes |