-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This removes the Travis CI integration in favor of Github Actions. Co-authored-by: Yukthi Suresh <yukthi94@gmail.com>
- Loading branch information
1 parent
5c6be87
commit 12e7916
Showing
3 changed files
with
74 additions
and
33 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: pysb | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- alubbock::bionetgen | ||
- alubbock::atomizer | ||
- alubbock::kappa | ||
- numpy | ||
- scipy | ||
- sympy | ||
- cython | ||
- matplotlib | ||
- networkx | ||
- nose | ||
- h5py | ||
- pexpect | ||
- pandas | ||
- pydot | ||
- coverage | ||
- coveralls | ||
- mock | ||
- pip | ||
- pip: | ||
- libroadrunner | ||
- python-libsbml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--- | ||
name: build | ||
on: [push] | ||
|
||
jobs: | ||
build-linux: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | ||
python-version: ["3.7", "3.8", "3.9", "3.10"] | ||
exclude: | ||
# Fails due to Atomizer linker/runtime issue | ||
- os: windows-latest | ||
python-version: 3.7 | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
environment-file: .github/pysb-conda-env.yml | ||
activate-environment: pysb | ||
- name: Install StochKit (except on Windows) | ||
if: matrix.os != 'windows-latest' | ||
run: conda install -y -c alubbock stochkit | ||
- name: Install StochKit Lite (Windows only) | ||
if: matrix.os == 'windows-latest' | ||
run: conda install -y -c alubbock -c conda-forge stochkit-lite | ||
- name: Fix gfortran DLL linker error on Windows/Python 3.8 | ||
if: matrix.os == 'windows-latest' && matrix.python-version == '3.8' | ||
run: pip install --upgrade --force-reinstall scipy | ||
- name: Conda environment info | ||
run: | | ||
conda info | ||
conda list | ||
- name: Build PySB | ||
run: python setup.py build --build-lib=build/lib | ||
- name: Run nosetests | ||
run: > | ||
nosetests | ||
build/lib/pysb | ||
--with-coverage --cover-inclusive --cover-package=build/lib/pysb | ||
-a '!gpu' |
This file was deleted.
Oops, something went wrong.