File tree Expand file tree Collapse file tree 3 files changed +41
-10
lines changed Expand file tree Collapse file tree 3 files changed +41
-10
lines changed Original file line number Diff line number Diff line change 1- name : Test on Ubuntu
1+ name : Complete tests
22
33on :
44 pull_request :
1212jobs :
1313 build-and-test :
1414
15- runs-on : ubuntu-latest
16-
15+ name : ${{ matrix.os }} Python ${{ matrix.python-version }}
16+ runs-on : ${{ matrix.os }}
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ python-version : ["3.9", "3.14"] # Lower and higher versions we support
21+ os : [macos-latest, windows-latest, ubuntu-latest]
1722 steps :
1823 - uses : actions/checkout@v4
1924 - name : Set up Python
2631 pip install .[test]
2732 - name : Pytest
2833 run : |
29- pytest --cov=probeinterface --cov-report xml:./coverage.xml
30- - uses : codecov/codecov-action@v4
31- with :
32- token : ${{ secrets.CODECOV_TOKEN }}
33- fail_ci_if_error : true
34- file : ./coverage.xml
34+ pytest -v
Original file line number Diff line number Diff line change 1+ name : Test with Codecov
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : " 0 12 * * *" # Daily at noon UTC
7+
8+
9+ jobs :
10+ build-and-test :
11+
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
18+ with :
19+ python-version : " 3.11"
20+ - name : Install package
21+ run : |
22+ python -m pip install --upgrade pip
23+ pip install .[test]
24+ - name : Pytest
25+ run : |
26+ pytest --cov=probeinterface --cov-report xml:./coverage.xml
27+ - uses : codecov/codecov-action@v4
28+ with :
29+ token : ${{ secrets.CODECOV_TOKEN }}
30+ fail_ci_if_error : true
31+ file : ./coverage.xml
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ authors = [
88
99description = " Python package to handle probe layout, geometry and wiring to device."
1010readme = " README.md"
11- requires-python = " >=3.8 "
11+ requires-python = " >=3.9 "
1212classifiers = [
1313 " Programming Language :: Python :: 3" ,
1414 " License :: OSI Approved :: MIT License" ,
You can’t perform that action at this time.
0 commit comments