Skip to content

Commit

Permalink
update requirement (#9)
Browse files Browse the repository at this point in the history
* update requirement

* update CI

* update CI
  • Loading branch information
chaoming0625 authored Apr 13, 2024
1 parent 7827b35 commit ca6fd53
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
pip install .
python -m pip cache purge
python -m pip install --upgrade pip setuptools --no-cache-dir
python -m pip install -r requirements-dev.txt --no-cache-dir
pip install . --no-cache-dir
- name: Test with pytest
run: |
pytest braintools/
Expand All @@ -73,8 +74,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
python -m pip cache purge
python -m pip install --upgrade pip setuptools --no-cache-dir
python -m pip install -r requirements-dev.txt --no-cache-dir
pip install .
- name: Test with pytest
run: |
Expand Down Expand Up @@ -102,9 +104,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install -r requirements-dev.txt
pip install .
python -m pip cache purge
python -m pip install --upgrade pip setuptools --no-cache-dir
python -m pip install -r requirements-dev.txt --no-cache-dir
pip install . --no-cache-dir
- name: Test with pytest
run: |
pytest braintools/ -p no:faulthandler
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-r requirements.txt
jaxlib
brainpy

# test requirements
pytest
Expand Down
1 change: 0 additions & 1 deletion requirements-doc.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
-r requirements.txt
jaxlib
matplotlib

# document requirements
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
numpy
jax
jaxlib
braincore

0 comments on commit ca6fd53

Please sign in to comment.