Skip to content
Discussion options

You must be logged in to vote

Applies to: any version — this is how the project works by design.

Run the gates for every part that you touched. CI runs these commands:

  • Server, from server/: ruff check app tests scripts migrations, python -m mypy, pytest -q -n auto
  • Android, from android/: ./gradlew test, ./gradlew assembleDebug, ./gradlew assembleRelease, ./gradlew detekt
  • Host, whenever the server job runs: CI starts python -m app.host --server pyvoy and --server hypercorn on a SQLite file and runs pytest -q -p no:xdist -m host against each.
  • Contract, only if proto/, buf.* or server/app/contract/ changed, from the root: buf lint; git fetch origin main, then buf breaking --against '.git#ref=origin/main'; buf generate, …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:ci for:contributor Whoever changes the code or the documents: setup, checks, where a change goes
1 participant