Skip to content

Rewrite shared ci.yml for uv-managed consumer repos#13

Closed
bboe wants to merge 1 commit into
uv_migrationfrom
unified_uv_ci
Closed

Rewrite shared ci.yml for uv-managed consumer repos#13
bboe wants to merge 1 commit into
uv_migrationfrom
unified_uv_ci

Conversation

@bboe

@bboe bboe commented Jun 7, 2026

Copy link
Copy Markdown
Member

Stacked on #12 (retargets to main when it merges).

Re-unifies CI now that all consumer repos (prawcore, praw, asyncpraw) are uv projects: the per-repo differences collapse into three workflow_call inputs:

input prawcore praw asyncpraw
python_versions ["3.10"–"3.13"] ["3.10"–"3.13"] ["3.10"–"3.14"]
min_python 3.10 3.10 3.10
network_test false true true
  • test legs: uv tool install tox --with tox-uvtox run --skip-pkg-install -e pyXXX (each repo's tox config owns coverage, cassette policy, etc.)
  • lint job: tox run --skip-env py — runs whatever non-test envs the repo defines (pre-commit/docs/style/type)
  • network test: uv run --frozen --group test pytest …, praw/asyncpraw only
  • job names keep the test with X on Y shape so required-check contexts survive unchanged

After merge + tag (v1.2.0): point prawcore (#291), praw (#2108), and asyncpraw (#324) at it, replacing their repo-local ci.yml copies.

Now that prawcore, praw, and asyncpraw are all uv projects with
tox-uv environments defined in pyproject, CI is identical across
repos and the differences are pure data. The workflow takes
python_versions (JSON list, tested on ubuntu), min_python (also
tested on macOS and Windows), and network_test (runs the live
Reddit test, *praw repos only). Job names preserve the existing
'test with X on Y' shape so branch protection contexts carry over.

Tests run their tox env via 'uv tool install tox --with tox-uv';
lint runs every non-py env (pre-commit, docs, style, type - whatever
the repo defines); the network test runs via uv run against the
locked test group.
@bboe

bboe commented Jun 7, 2026

Copy link
Copy Markdown
Member Author

Squashed into #12.

@bboe bboe closed this Jun 7, 2026
@bboe bboe deleted the unified_uv_ci branch June 7, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant