Merge branch 'dev' into limit_major_dep_version_change
This commit is contained in:
commit
7938ddd444
1 changed files with 0 additions and 59 deletions
59
.github/workflows/test_memgraph.yml
vendored
59
.github/workflows/test_memgraph.yml
vendored
|
|
@ -1,59 +0,0 @@
|
||||||
name: test | memgraph
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
pull_request:
|
|
||||||
types: [labeled, synchronize]
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
env:
|
|
||||||
RUNTIME__LOG_LEVEL: ERROR
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run_memgraph_integration_test:
|
|
||||||
name: test
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
|
|
||||||
services:
|
|
||||||
memgraph:
|
|
||||||
image: memgraph/memgraph-mage:latest
|
|
||||||
ports:
|
|
||||||
- 7687:7687
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Check out
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.10.x'
|
|
||||||
|
|
||||||
- name: Install Poetry
|
|
||||||
uses: snok/install-poetry@v1.4.1
|
|
||||||
with:
|
|
||||||
virtualenvs-create: true
|
|
||||||
virtualenvs-in-project: true
|
|
||||||
installer-parallel: true
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: poetry install -E neo4j
|
|
||||||
|
|
||||||
- name: Run default Memgraph
|
|
||||||
env:
|
|
||||||
ENV: 'dev'
|
|
||||||
LLM_MODEL: ${{ secrets.LLM_MODEL }}
|
|
||||||
LLM_ENDPOINT: ${{ secrets.LLM_ENDPOINT }}
|
|
||||||
LLM_API_KEY: ${{ secrets.LLM_API_KEY }}
|
|
||||||
LLM_API_VERSION: ${{ secrets.LLM_API_VERSION }}
|
|
||||||
EMBEDDING_MODEL: ${{ secrets.EMBEDDING_MODEL }}
|
|
||||||
EMBEDDING_ENDPOINT: ${{ secrets.EMBEDDING_ENDPOINT }}
|
|
||||||
EMBEDDING_API_KEY: ${{ secrets.EMBEDDING_API_KEY }}
|
|
||||||
EMBEDDING_API_VERSION: ${{ secrets.EMBEDDING_API_VERSION }}
|
|
||||||
GRAPH_DATABASE_URL: "bolt://localhost:7687"
|
|
||||||
GRAPH_DATABASE_PASSWORD: "memgraph"
|
|
||||||
GRAPH_DATABASE_USERNAME: "memgraph"
|
|
||||||
run: poetry run python ./cognee/tests/test_memgraph.py
|
|
||||||
Loading…
Add table
Reference in a new issue