FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
repl/.github/workflows/python-package.yml at main · pymodbus-dev/repl · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
pymodbus-dev
/
repl
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
11
Code
Issues
3
Pull requests
3
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
repl
/
.github
/
workflows
/
python-package.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
41 lines (36 loc) · 1.09 KB
Breadcrumbs
repl
/
.github
/
workflows
/
python-package.yml
Copy path
File metadata and controls
41 lines (36 loc) · 1.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
#
This workflow will install Python dependencies, run tests and lint with a variety of Python versions
#
For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name
:
repl
on
:
push
:
branches
:
[ "main" ]
pull_request
:
branches
:
[ "main" ]
jobs
:
test
:
name
:
${{ matrix.python-version }}
runs-on
:
"
ubuntu-latest
"
strategy
:
fail-fast
:
false
matrix
:
python-version
:
["3.9", "3.10", "3.11", "3.12"]
steps
:
-
uses
:
actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
#
v4
-
name
:
Set up Python ${{ matrix.python-version }}
uses
:
actions/setup-python@v5
with
:
allow-prereleases
:
true
python-version
:
${{ matrix.python-version }}
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade poetry
python -m poetry install
-
name
:
Lint with ruff
run
:
|
poetry run ruff check .
-
name
:
Check types with mypy
run
:
|
poetry run mypy pymodbus_repl
-
name
:
Pytest
run
:
|
poetry run pytest
Back
|
FazBrowse Home
|
New Git URL