-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
14 additions
and
50 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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.8, 3.9] | ||
python-version: ['3.8', '3.9', '3.10', '3.11'] | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
|
@@ -41,36 +41,3 @@ jobs: | |
run: | | ||
pip install --no-deps . | ||
python -m pytest tests | ||
Coverage: | ||
needs: [Build] | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
steps: | ||
- name: 'Checkout' | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.ref }} | ||
- name: 'Setup Neo4j with APOC' | ||
uses: mdanics/[email protected] | ||
- name: 'Deploying miniconda' | ||
uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
miniconda-version: "latest" | ||
environment-file: recipes/workflow.yaml | ||
python-version: '3.9' | ||
mamba-version: "*" | ||
channel-priority: true | ||
use-mamba: true | ||
- name: 'Run tests' | ||
run: | | ||
pip install --no-deps . | ||
coverage run -m pytest | ||
coverage lcov | ||
- name: 'Coveralls' | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: ./coverage.lcov |
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 |
---|---|---|
@@ -1,18 +1,13 @@ | ||
# Neo4jSbml | ||
|
||
[![Github Version](https://img.shields.io/github/v/release/brsynth/neo4jsbml?display_name=tag&sort=semver)](version) | ||
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) | ||
[![GitHub Super-Linter](https://github.com/brsynth/brsynth/workflows/Tests/badge.svg)](https://github.com/marketplace/actions/super-linter) [![Coverage](https://img.shields.io/coveralls/github/brsynth/neo4jsbml)](coveralls) | ||
[![Github Version](https://img.shields.io/github/v/release/brsynth/neo4jsbml?display_name=tag&sort=semver)](version) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) | ||
[![Documentation Status](https://readthedocs.org/projects/neo4jsbml/badge/?version=latest)](https://neo4jsbml.readthedocs.io/en/latest/?badge=latest) [![GitHub Super-Linter](https://github.com/brsynth/neo4jsbml/workflows/Tests/badge.svg)](https://github.com/marketplace/actions/super-linter) | ||
[![DOI](https://zenodo.org/badge/585859244.svg)](https://zenodo.org/badge/latestdoi/585859244) | ||
|
||
## Install | ||
|
||
```sh | ||
git clone [email protected]:brsynth/neo4jsbml.git | ||
cd neo4jsbml | ||
conda env create -n neo4jsbml -f recipes/workflow.yml | ||
conda activate neo4jsbml | ||
pip install --no-deps . | ||
conda install -c conda-forge neo4jsbml | ||
``` | ||
|
||
## Usage | ||
|
@@ -40,7 +35,7 @@ Import your data with `neo4jsbml` into Neo4j. | |
```sh | ||
neo4jsbml \ | ||
# Database parameters | ||
--input-protocol-str ["neo4j", "bolt"] \ | ||
--input-protocol-str ["neo4j", "neo4j+s", "neo4j+ssc", "bolt", "bolt+s", "bolt+ssc"] \ | ||
--input-url-str "localhost" \ | ||
--input-port-int 7687 \ | ||
--input-user-str "neo4j" \ | ||
|
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
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
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
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