Skip to content

Upgrade scipy to cumulative_trapezoidal (#100) #179

Upgrade scipy to cumulative_trapezoidal (#100)

Upgrade scipy to cumulative_trapezoidal (#100) #179

Workflow file for this run

name: Tests
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
name: Check Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Update pip
run: pip install --upgrade pip
- name: Install package
run: python -m pip install -e .[test]
- name: Test package
run: python -m pytest
codecov:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
name: Check Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Update pip
run: pip install --upgrade pip
- name: Install package
run: python -m pip install -e .[test]
- name: Generate Report
run: |
pip install coverage
coverage run -m pytest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4.2.0