File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+ name : repl
5+
6+ on :
7+ push :
8+ branches : [ "main" ]
9+ pull_request :
10+ branches : [ "main" ]
11+
12+ jobs :
13+ test :
14+
15+ name : ${{ matrix.python-version }}
16+ runs-on : " ubuntu-latest"
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ python-version : ["3.9", "3.10", "3.11", "3.12"]
21+
22+ steps :
23+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
24+ - name : Set up Python ${{ matrix.python-version }}
25+ uses : actions/setup-python@v5
26+ with :
27+ allow-prereleases : true
28+ python-version : ${{ matrix.python-version }}
29+ - name : Install dependencies
30+ run : |
31+ python -m pip install --upgrade poetry
32+ python -m poetry install
33+ - name : Lint with ruff
34+ run : |
35+ poetry run ruff check .
36+ # - name: Check types with mypy
37+ # run: |
38+ # mypy pymodbus_repl
39+ # - name: Pytest
40+ # run: |
41+ # pytest
You can’t perform that action at this time.
0 commit comments