Skip to content

group_it check for summary collectors #581

group_it check for summary collectors

group_it check for summary collectors #581

# 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: Installing using pip on windows
on:
push:
branches:
- "**"
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest pytest-timeout pytest-benchmark lmfit
# if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install cellpy
run: |
python -m pip install -e .
- name: Test with pytest
run: |
pytest tests/test_maccor.py
- name: Run cellpy setup
run: |
cellpy setup --silent
- name: Run the cellpy check
run: |
cellpy info --check
- name: Show the configuration
run: |
cellpy info -p