Skip to content

Commit 638953b

Browse files
committed
Regenerated the client
1 parent 41d8faf commit 638953b

File tree

162 files changed

+346
-95
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+346
-95
lines changed

.github/workflows/publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publishing
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
uses: ./.github/workflows/test.yml
8+
publish:
9+
name: Publish the client to the public registry
10+
needs: [test]
11+
runs-on: ubuntu-latest
12+
env:
13+
PYPIRC: ${{ secrets.PYPIRC }}
14+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Use Python 3.10
18+
uses: actions/setup-python@v4
19+
with:
20+
python-version: '3.10'
21+
- name: Check for dev-version
22+
if: ${{ contains(github.ref, 'master') }}
23+
run: |
24+
VERSION=`git log -1 --date=format:"%y%m%d%H" --format=%cd|head`
25+
echo "version $VERSION"
26+
sed -i -E "s/(VERSION = \")([0-9]\.[0-9]\.)(.*)(\")/\1\2$VERSION\4/1" setup.py
27+
- name: Publish
28+
run: |
29+
echo $PYPIRC > ~/.pypirc
30+
echo "Ok"

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Testing
2+
3+
on: [workflow_call]
4+
5+
jobs:
6+
test:
7+
name: Running basic tests
8+
runs-on: ubuntu-22.04
9+
strategy:
10+
matrix:
11+
python-version: ["3.10", "3.12"]
12+
13+
services:
14+
manticoresearch-manticore:
15+
image: manticoresearch/manticore:dev
16+
env:
17+
EXTRA: 1
18+
ports:
19+
- 9408:9308
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Use Python ${{ matrix.python-version }}
24+
uses: actions/setup-python@v4
25+
with:
26+
python-version: ${{ matrix.python-version }}
27+
- run: |
28+
sudo apt update && sudo apt -y install python3-pip
29+
python3 -m pip install -e .
30+
python3 test/test_manual.py
31+

.gitignore

100755100644
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ target/
6464

6565
#Ipython Notebook
6666
.ipynb_checkpoints
67+
68+
.project

.gitlab-ci.yml

100755100644
File mode changed.

.openapi-generator-ignore

100755100644
File mode changed.

.openapi-generator/FILES

100755100644
File mode changed.

.openapi-generator/VERSION

100755100644
File mode changed.

.travis.yml

100755100644
File mode changed.

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)