Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,23 @@ jobs:

- name: Trunk Code Quality
uses: trunk-io/trunk-action@v1

poly-check:
name: Poly Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true

- name: Set up Python
run: uv python install

- name: Install dependencies
run: uv sync --all-extras --dev

- name: Run poly check
run: uv run poly check
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
*.pyc
posts.db
*.db
.coverage
4 changes: 4 additions & 0 deletions projects/publishing_service/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies = [
"pydantic",
"aiosqlite",
"httpx",
"requests",
]

[build-system]
Expand All @@ -29,3 +30,6 @@ packages = ["polyclean"]
"../../components/polyclean/publish_post_flow" = "polyclean/publish_post_flow"
"../../components/polyclean/sqlite_adapter" = "polyclean/sqlite_adapter"
"../../components/polyclean/instagram_adapter" = "polyclean/instagram_adapter"
"../../components/polyclean/rest_adapter_lib" = "polyclean/rest_adapter_lib"
"../../components/polyclean/instagram_publish_adapter" = "polyclean/instagram_publish_adapter"
"../../components/polyclean/sqlite_post_adapter" = "polyclean/sqlite_post_adapter"
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ theme = "loose"
"components/polyclean/publish_post_flow" = "polyclean/publish_post_flow"
"components/polyclean/sqlite_post_adapter" = "polyclean/sqlite_post_adapter"
"components/polyclean/rest_adapter_lib" = "polyclean/rest_adapter_lib"
"bases/polyclean/pokemon_card_api" = "polyclean/pokemon_card_api"
"components/polyclean/sqlite_pokemon_card_adapter" = "polyclean/sqlite_pokemon_card_adapter"
"components/polyclean/pokemon_card_flow" = "polyclean/pokemon_card_flow"
"components/polyclean/pokemon_card_contract" = "polyclean/pokemon_card_contract"
[dependency-groups]
dev = [
"polylith-cli>=1.0.0",
Expand Down