Skip to content

group_it check for summary collectors #591

group_it check for summary collectors

group_it check for summary collectors #591

# 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 posix
on:
push:
branches:
- "**"
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-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 mdbtools
run: |
sudo apt-get update
sudo apt-get install -y mdbtools
# sudo apt-get install -y libhdf5-serial-dev
- 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
- 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