FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
hydrogram/.github/workflows/python.yml at dev · uidops/hydrogram · GitHub
uidops
/
hydrogram
Public
forked from
hydrogram/hydrogram
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
hydrogram
/
.github
/
workflows
/
python.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
45 lines (35 loc) · 1.06 KB
Breadcrumbs
hydrogram
/
.github
/
workflows
/
python.yml
Copy path
File metadata and controls
45 lines (35 loc) · 1.06 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
name
:
Hydrogram
on
:
[push, pull_request]
jobs
:
build
:
runs-on
:
${{ matrix.os }}
strategy
:
fail-fast
:
false
matrix
:
os
:
[ubuntu-latest, macos-latest]
python-version
:
["3.9", "3.10", "3.11", "3.12"]
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v5
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install the latest version of rye
uses
:
eifinger/setup-rye@v4
id
:
setup-rye
with
:
enable-cache
:
true
cache-prefix
:
${{ matrix.python-version }}
-
name
:
Pin python-version ${{ matrix.python-version }}
if
:
steps.setup-rye.outputs.cache-hit != 'true'
run
:
rye pin ${{ matrix.python-version }}
-
name
:
Install dependencies
if
:
steps.setup-rye.outputs.cache-hit != 'true'
run
:
|
rye sync
-
name
:
Generate API
run
:
|
rye run api
-
name
:
Run tests
run
:
|
rye run python -m pytest
Back
|
FazBrowse Home
|
New Git URL