FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-metar/.github/workflows/ci.yml at main · python-metar/python-metar · GitHub
python-metar
/
python-metar
Public
Notifications
You must be signed in to change notification settings
Fork
125
Star
305
Code
Issues
33
Pull requests
2
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python-metar
/
.github
/
workflows
/
ci.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
50 lines (49 loc) · 1.26 KB
Breadcrumbs
python-metar
/
.github
/
workflows
/
ci.yml
Copy path
File metadata and controls
50 lines (49 loc) · 1.26 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
name
:
CI
on
:
[push, pull_request]
jobs
:
build-linux
:
name
:
Python (${{ matrix.python-version }})
runs-on
:
ubuntu-latest
strategy
:
matrix
:
python-version
:
-
'
3.10
'
-
'
3.11
'
-
'
3.12
'
-
'
3.13
'
-
'
3.14
'
steps
:
-
uses
:
actions/checkout@v7
-
uses
:
actions/setup-python@v7
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install Package
run
:
|
python -m pip install .[tests]
-
name
:
Run Tests
run
:
|
if [[ ${{ matrix.python-version }} == "3.14" ]]; then
# For one of the python versions, check code coverage during pytest
pip install .[codecov]
python -m pytest --cov metar
codecov
else
# For all other python versions, just run pytest
python -m pytest
fi
typing
:
name
:
Typing Check
runs-on
:
ubuntu-latest
strategy
:
matrix
:
#
3.14 not ready for mypy
python-version
:
["3.13"]
steps
:
-
uses
:
actions/checkout@v7
-
uses
:
actions/setup-python@v7
with
:
python-version
:
${{ matrix.python-version }}
-
name
:
Install dependencies
run
:
python -m pip install .[typing]
-
name
:
Run mypy
run
:
mypy metar
Back
|
FazBrowse Home
|
New Git URL