Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a CI job that tests against pinned requirements #24

Merged
merged 4 commits into from
Jul 2, 2024

Conversation

sk1p
Copy link
Member

@sk1p sk1p commented Jun 25, 2024

Needs TemGym/TemGym#35 for a clean CI run ✔️

As these requirements are the ones that end up in the docker container image, we should make updating the requirements testable. The installation tries to mimick what's done in the container build script as far as possible, but as it needs to install the [test] extra, it can't use --no-deps and thus isn't a 100% match.

Also fix incorrect git sha in the pinned requirements - it has to match the pyproject.toml!

Switch to uv for much faster CI run.

As these requirements are the ones that end up in the docker container
image, we should make updating the requirements testable. The
installation tries to mimick what's done in the container build script
as far as possible, but as it needs to install the `[test]` extra, it
can't use `--no-deps` and thus isn't a 100% match.
@sk1p sk1p requested a review from uellue June 25, 2024 09:41
@sk1p sk1p mentioned this pull request Jun 25, 2024
Copy link

codecov bot commented Jun 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@b6fc720). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             main       #24   +/-   ##
========================================
  Coverage        ?   100.00%           
========================================
  Files           ?         5           
  Lines           ?       190           
  Branches        ?        21           
========================================
  Hits            ?       190           
  Misses          ?         0           
  Partials        ?         0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sk1p sk1p force-pushed the test-pinned-requirements branch from 1d81cae to 736c227 Compare June 26, 2024 14:50
@uellue uellue merged commit b020a5f into main Jul 2, 2024
16 checks passed
uellue pushed a commit that referenced this pull request Jul 2, 2024
uellue pushed a commit that referenced this pull request Jul 2, 2024
@sk1p sk1p deleted the test-pinned-requirements branch July 2, 2024 10:01
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.

2 participants