allow empty charge or discharge data for get_cap #872
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run pytest on linux | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
Install-miniconda-and-run-pytest: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
activate-environment: cellpy_dev | |
environment-file: github_actions_environment.yml | |
python-version: ${{ matrix.python-version }} | |
- name: Conda info | |
run: conda info | |
- name: Conda list | |
run: conda list | |
- name: Install mdbtools | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y mdbtools | |
- name: pytest | |
run: pytest | |