Skip to content

Commit

Permalink
tests.yml added.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziaeemehr committed Dec 21, 2023
1 parent 1ced9c9 commit 5a57768
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Test

on: [push]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
- name: Run tests
run: |
python -m unittest discover
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Scipy
- numpy
- C++ >= 11
- jidt [optional]

```sh
conda env create --file environment.yml --name vbi
Expand All @@ -24,6 +25,9 @@ make
# you need to install swig if you get an error and probably write the version of
# python you are using at makefile
PYTHON_VERSION = 3.8 # or whatever version you have

# optional
conda install -c conda-forge jpype1
```

you need to have install swig on you machine to compile C++ codes.
Expand Down
23 changes: 23 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
wheel
numba
numpy
scipy
pandas
tqdm
networkx
cloud_sptheme
matplotlib
symengine
seaborn
sbi
torch
# jitcsde
# jitcdde
# jitcode
sympy
scikit-learn
jpype1
setuptools_scm
numpydoc
# jpype1
# vbjax

0 comments on commit 5a57768

Please sign in to comment.