FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pyprep/.github/workflows/python_build.yml at main · sappelhoff/pyprep · GitHub
sappelhoff
/
pyprep
Public
Notifications
You must be signed in to change notification settings
Fork
38
Star
183
Code
Issues
14
Pull requests
0
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
pyprep
/
.github
/
workflows
/
python_build.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
71 lines (65 loc) · 1.84 KB
Breadcrumbs
pyprep
/
.github
/
workflows
/
python_build.yml
Copy path
File metadata and controls
71 lines (65 loc) · 1.84 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
70
71
name
:
Python build
concurrency
:
group
:
${{ github.workflow }}-${{ github.event.number }}-${{ github.event.ref }}
cancel-in-progress
:
true
on
:
push
:
branches
:
[ main ]
pull_request
:
branches
:
[ main ]
schedule
:
-
cron
:
"
0 4 * * MON
"
jobs
:
build
:
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
false
matrix
:
os
:
[ubuntu-latest]
python-version
:
["3.14"]
env
:
TZ
:
Europe/Berlin
FORCE_COLOR
:
true
steps
:
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v7
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Update pip etc.
run
:
|
python -m pip install --upgrade pip
python -m pip install --upgrade build twine
-
uses
:
actions/checkout@v7
with
:
fetch-depth
:
0
fetch-tags
:
true
submodules
:
true
-
name
:
Build sdist
run
:
python -m build --sdist
-
name
:
Check sdist
run
:
twine check --strict dist/*
-
name
:
Install sdist
run
:
python -m pip install ./dist/pyprep-*
-
name
:
Clean up working directory
run
:
rm -rf ./*
-
name
:
Try importing pyprep
run
:
python -c 'import pyprep; print(pyprep.__version__)'
-
name
:
Remove sdist install
run
:
python -m pip uninstall -y pyprep
-
uses
:
actions/checkout@v7
with
:
fetch-depth
:
0
fetch-tags
:
true
submodules
:
true
-
name
:
Build wheel
run
:
python -m build --wheel
-
name
:
Check wheel
run
:
twine check --strict dist/*
-
name
:
Install wheel
run
:
python -m pip install ./dist/pyprep-*.whl
-
name
:
Clean up working directory
run
:
rm -rf ./*
-
name
:
Try importing pyprep
run
:
python -c 'import pyprep; print(pyprep.__version__)'
-
name
:
Remove wheel install
run
:
python -m pip uninstall -y pyprep
Back
|
FazBrowse Home
|
New Git URL