Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/run_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install django-import-export future futures six gevent prettytable pytest
pip install -r requirements-dev.txt
- name: Test with pytest
run: |
mkdir tmp
Expand All @@ -32,9 +32,8 @@ jobs:
pushd nebula-docker-compose/
cp ../../tests/docker-compose.yaml ./
docker-compose up -d
sleep 10
sleep 60
popd
popd
cd tests
pytest -s -v

10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,15 @@ When your environment cannot access `pypi`, you need to install the following pa
- httplib2
- futures # python2.x is needed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line 57-61 can be deleted, directly to use requirements.txt is ok.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


or
```
pip install -r requirements.txt
```
dev version
```
pip install -r requirements-dev.txt
```

### Option two: using pip

```python
Expand Down Expand Up @@ -143,4 +152,3 @@ while resp.has_next():
| 2.0.0.post1 | 2.0.0beta |
| 2.0.0rc1 | 2.0.0-rc1 |
| 2.0.0 | >= 2.0.0 |

8 changes: 8 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
django-import-export
future
six
httplib2
futures; python_version < '3.0'
gevent
prettytable
pytest
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
django-import-export
future
six
httplib2
futures; python_version < '3.0'