File tree Expand file tree Collapse file tree 7 files changed +45
-59
lines changed
Expand file tree Collapse file tree 7 files changed +45
-59
lines changed Original file line number Diff line number Diff line change 1+ # Largely built from this excellent guide:
2+ # https://shift.click/blog/github-actions-rust/#run-on-pushes-to-main--prs-to-main-or-dev
3+
4+ name : Test
5+
6+ env :
7+ RUST_BACKTRACE : 1
8+
9+ on :
10+ push :
11+ branches :
12+ - master
13+ - v1
14+ pull_request :
15+ branches :
16+ - master
17+ - v1
18+
19+ jobs :
20+ test :
21+ name : Test
22+ runs-on : ubuntu-latest
23+ steps :
24+ - uses : actions/checkout@v2
25+ with :
26+ submodules : recursive
27+
28+ - uses : hecrj/setup-rust-action@v1
29+ with :
30+ rust-version : stable
31+
32+ - uses : actions/setup-python@v2
33+ with :
34+ python-version : ' 3.x'
35+
36+ - uses : Swatinem/rust-cache@v1
37+
38+ - run : pip install -r requirements.txt && ./test.py
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 22
33venv :
44 virtualenv -p python3 venv
5- . venv/bin/activate && pip install tox nose pdoc grpcio==1.27.2 grpcio-tools==1.27.2
5+ . venv/bin/activate && pip install -r requirements.txt
66
77init : venv
88 git submodule update --init --recursive
@@ -23,4 +23,4 @@ release:
2323 . venv/bin/activate && twine upload --skip-existing dist/*
2424
2525test :
26- . venv/bin/activate && tox
26+ . venv/bin/activate && ./test.py
Original file line number Diff line number Diff line change 1- # IndraDB python client [ ![ Build Status ] ( https://travis-ci.org /indradb/python-client.svg?branch=master )] ( https://travis-ci.org/indradb/python-client )
1+ # IndraDB python client ![ CI ] ( https://github.com /indradb/python-client/workflows/Test/badge.svg )
22
33IndraDB's python client. This uses the server API to enable graph queries and manipulation from python code.
44
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ nose
2+ pdoc
3+ grpcio == 1.27.2
4+ grpcio-tools == 1.27.2
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments