Skip to content

Commit 8fb7d1b

Browse files
authored
Merge pull request #4 from AntidoteDB/session-guarantees-support
Session guarantees support
2 parents 927ecf4 + 1ccc356 commit 8fb7d1b

9 files changed

Lines changed: 805 additions & 499 deletions

File tree

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3+
4+
name: Python package
5+
6+
on:
7+
push:
8+
branches: [ '**' ]
9+
pull_request:
10+
branches: [ '**' ]
11+
12+
jobs:
13+
build:
14+
15+
runs-on: ubuntu-latest
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
python-version: ["3.8", "3.9", "3.10"]
20+
21+
steps:
22+
# make docker available in the pipeline
23+
- name: Run Antidote docker image in the background
24+
run: |
25+
docker run -d -p "8087:8087" antidotedb/antidote
26+
- uses: actions/checkout@v2
27+
- name: Set up Python ${{ matrix.python-version }}
28+
uses: actions/setup-python@v2
29+
with:
30+
python-version: ${{ matrix.python-version }}
31+
- name: Install dependencies
32+
run: |
33+
python -m pip install --upgrade pip
34+
python -m pip install pytest
35+
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
36+
- name: Test with pytest
37+
run: |
38+
pytest
39+
40+
41+

compile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
protoc -I=src/eu/antidotedb/proto --python_out=src/eu/antidotedb/proto/ src/eu/antidotedb/proto/antidote.proto
1+
protoc -I=src/main/python/antidotedb/proto --python_out=src/main/python/antidotedb/proto/ ./src/main/python/antidotedb/proto/antidote.proto

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
protobuf==3.19.4

0 commit comments

Comments
 (0)