FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
socket-basics/.github/workflows/python-tests.yml at main · SocketDev/socket-basics · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
SocketDev
/
socket-basics
Public
Notifications
You must be signed in to change notification settings
Fork
7
Star
11
Code
Issues
1
Pull requests
5
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
socket-basics
/
.github
/
workflows
/
python-tests.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
69 lines (65 loc) · 2.09 KB
Breadcrumbs
socket-basics
/
.github
/
workflows
/
python-tests.yml
Copy path
File metadata and controls
69 lines (65 loc) · 2.09 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name
:
python-tests
on
:
push
:
branches
:
[main]
paths
:
-
"
socket_basics/**/*.py
"
-
"
tests/**/*.py
"
-
"
pyproject.toml
"
-
"
uv.lock
"
-
"
action.yml
"
-
"
README.md
"
-
"
docs/**/*.md
"
-
"
scripts/check_release_docs.py
"
-
"
scripts/prep_release.py
"
-
"
scripts/sync_release_version.py
"
-
"
.github/workflows/python-tests.yml
"
pull_request
:
paths
:
-
"
socket_basics/**/*.py
"
-
"
tests/**/*.py
"
-
"
pyproject.toml
"
-
"
uv.lock
"
-
"
action.yml
"
-
"
README.md
"
-
"
docs/**/*.md
"
-
"
scripts/check_release_docs.py
"
-
"
scripts/prep_release.py
"
-
"
scripts/sync_release_version.py
"
-
"
.github/workflows/python-tests.yml
"
workflow_dispatch
:
permissions
:
contents
:
read
concurrency
:
group
:
python-tests-${{ github.ref }}
cancel-in-progress
:
true
jobs
:
test
:
runs-on
:
ubuntu-latest
timeout-minutes
:
20
steps
:
-
uses
:
actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
#
v7.0.1
with
:
fetch-depth
:
1
persist-credentials
:
false
-
name
:
🐍 Setup Python
uses
:
actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
#
v7.0.0
with
:
python-version
:
"
3.12
"
cache
:
"
pip
"
-
name
:
🛠️ Install deps
#
`uv sync --locked` installs exactly the versions in uv.lock, so tests
#
run against the locked dependency set (not a fresh pip resolution).
run
:
|
python -m pip install --upgrade pip uv
uv sync --locked --extra dev
-
name
:
🔐 Assert uv.lock is in sync with pyproject.toml
#
Catches dependency PRs (Dependabot or maintainer) that change
#
pyproject.toml without regenerating the lock, or vice versa.
run
:
uv lock --locked
-
name
:
🔒 Assert release version metadata is in sync
run
:
python3 scripts/sync_release_version.py --check
-
name
:
📚 Assert current-release docs are in sync
run
:
python3 scripts/check_release_docs.py --check
-
name
:
🧪 Run tests
run
:
uv run --no-sync pytest -q tests/
Back
|
FazBrowse Home
|
New Git URL