Fix check on length of list of exponentials #4
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: Test examples | |
on: | |
push: | |
branches: [ main, development, experimental ] | |
pull_request: | |
branches: [ main, development, experimental ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.runs-on }} | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.7", "3.9", "3.10", "3.11"] | |
runs-on: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
- name: Build package | |
run: | | |
pip install . | |
- name: Test some examples | |
if: ${{ matrix.python-version != '3.7' || matrix.runs-on != 'macos-latest' }} # mac + py3.7 requires build of _bz2 module... | |
run: | | |
cd scripts | |
python peptideGPCR_binding.py | |
python signalpropagation_kernels.py | |
python plot_signal_propagation.py | |
- name: Final version info | |
run: | | |
pip list |