Commit 6417ea2
committed
ci: add lock-drift, import-smoke, and pip-audit; skip e2e on dependabot
python-tests.yml:
- `uv lock --locked` -- fails if uv.lock has drifted from pyproject.toml.
Prevents the "forgot to commit the lockfile" class of mistake.
- Import smoke step that loads every top-level module touching the
upgraded packages (cryptography, gitpython, requests, urllib3, ...).
Catches API-removal breaks from minor/patch deprecations that the
unit suite alone wouldn't surface.
- `uvx pip-audit --strict` against the synced env -- light CVE check
on the resolved transitive tree. Runs in seconds via uv's caching.
e2e-test.yml:
- Skip e2e on Dependabot PRs. They don't have access to the Socket API
secret so e2e would always fail on them, polluting the PR check UI.
Supply-chain risk for dep bumps is covered by dependabot-review.yml's
Socket Firewall smoke jobs, which need no secrets.
Signed-off-by: lelia <2418071+lelia@users.noreply.github.com>1 parent 1d8b1f7 commit 6417ea2
2 files changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
53 | 69 | | |
54 | 70 | | |
55 | 71 | | |
| |||
0 commit comments