FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ccproxy-api/.github/workflows/python-ci.yml at main · CaddyGlow/ccproxy-api · GitHub
CaddyGlow
/
ccproxy-api
Public
Notifications
You must be signed in to change notification settings
Fork
51
Star
272
Code
Issues
5
Pull requests
11
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
ccproxy-api
/
.github
/
workflows
/
python-ci.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
96 lines (87 loc) · 2.58 KB
Breadcrumbs
ccproxy-api
/
.github
/
workflows
/
python-ci.yml
Copy path
File metadata and controls
96 lines (87 loc) · 2.58 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name
:
Python CI
on
:
push
:
branches
:
[ "main", "dev", "dev/**" ]
tags
:
[ "v*" ]
pull_request
:
workflow_dispatch
:
inputs
:
ref
:
description
:
'
Git ref (branch, tag, or SHA) to build
'
required
:
false
type
:
string
default
:
'
'
target_preset
:
description
:
'
Target preset to build
'
required
:
false
type
:
choice
options
:
-
all
-
windows
-
linux
-
macos
default
:
'
all
'
skip_tests
:
description
:
'
Skip tests
'
required
:
false
type
:
boolean
default
:
false
permissions
:
contents
:
write
jobs
:
test
:
if
:
${{ !inputs.skip_tests && github.event_name != 'push' || github.ref_type != 'tag' }}
uses
:
CaddyGlow/homebrew-packages/.github/workflows/python-test.yml@main
with
:
ref
:
${{ inputs.ref || '' }}
python_version
:
'
3.11
'
build
:
needs
:
[test]
if
:
|
always() &&
!cancelled() &&
(needs.test.result == 'success' || needs.test.result == 'skipped') &&
(startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch')
uses
:
CaddyGlow/homebrew-packages/.github/workflows/python-build.yml@main
with
:
ref
:
${{ inputs.ref || '' }}
binary_name
:
ccproxy
entry_point
:
'
ccproxy.cli.main:main
'
extra_smoke_command
:
'
plugins list
'
assets
:
'
["README.md", "LICENSE"]
'
target_preset
:
${{ inputs.target_preset || 'all' }}
python_version
:
'
3.11
'
package
:
needs
:
[test]
if
:
|
always() &&
!cancelled() &&
(needs.test.result == 'success' || needs.test.result == 'skipped') &&
(startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch')
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
with
:
ref
:
${{ inputs.ref || '' }}
-
name
:
Install uv
uses
:
astral-sh/setup-uv@v3
with
:
enable-cache
:
true
-
name
:
Build Python distribution
run
:
./Taskfile build
-
name
:
Upload Python package artifacts
uses
:
actions/upload-artifact@v4
with
:
name
:
python-package
path
:
dist/*
release
:
needs
:
[build, package]
if
:
|
always() &&
!cancelled() &&
needs.build.result == 'success' &&
needs.package.result == 'success' &&
(startsWith(github.ref, 'refs/tags/') || (github.event_name == 'workflow_dispatch' && startsWith(inputs.ref, 'v')))
uses
:
CaddyGlow/homebrew-packages/.github/workflows/python-release.yml@main
with
:
ref
:
${{ inputs.ref || '' }}
Back
|
FazBrowse Home
|
New Git URL