Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/full_tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test on Ubuntu
name: Complete tests

on:
pull_request:
Expand All @@ -12,8 +12,13 @@ on:
jobs:
build-and-test:

runs-on: ubuntu-latest

name: ${{ matrix.os }} Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.14"] # Lower and higher versions we support
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -26,9 +31,4 @@ jobs:
pip install .[test]
- name: Pytest
run: |
pytest --cov=probeinterface --cov-report xml:./coverage.xml
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
file: ./coverage.xml
pytest -v
31 changes: 31 additions & 0 deletions .github/workflows/full_tests_codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test with Codecov

on:
workflow_dispatch:
schedule:
- cron: "0 12 * * *" # Daily at noon UTC


jobs:
build-and-test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install package
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Pytest
run: |
pytest --cov=probeinterface --cov-report xml:./coverage.xml
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
file: ./coverage.xml
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [

description = "Python package to handle probe layout, geometry and wiring to device."
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down