fix: enable checks for dev

This commit is contained in:
Boris Arzentar 2024-12-12 12:46:26 +01:00
parent c24df239ea
commit aa46bb3d64
6 changed files with 12 additions and 17 deletions

View file

@ -3,7 +3,7 @@ name: publish dev | Docker image
on:
push:
branches:
- main
- dev
- feature/*
paths-ignore:
- '**.md'
@ -28,13 +28,8 @@ jobs:
- name: Set environment variable for stage
id: set-env
run: |
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
echo "STAGE=prd" >> $GITHUB_ENV
echo "::set-output name=stage::prd"
else
echo "STAGE=dev" >> $GITHUB_ENV
echo "::set-output name=stage::dev"
fi
- name: Use output
run: echo "The stage is ${{ steps.set-env.outputs.stage }}"

View file

@ -4,9 +4,11 @@ on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
jobs:
docker-compose-test:

View file

@ -1,7 +1,10 @@
name: test | profiling
on:
push
workflow_dispatch:
pull_request:
types: [labeled, synchronize]
jobs:
profiler:
runs-on: ubuntu-latest

View file

@ -2,11 +2,8 @@
name: lint | code & tests
on:
pull_request:
branches:
- main
- devel
workflow_dispatch:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

View file

@ -3,8 +3,6 @@ name: test | deduplication
on:
workflow_dispatch:
pull_request:
branches:
- main
types: [labeled, synchronize]

View file

@ -46,7 +46,7 @@
"import git\n",
"\n",
"notebook_path = path.abspath(\"\")\n",
"repo_clone_location = path.join(notebook_path, \"data/graphrag\")\n",
"repo_clone_location = path.join(notebook_path, \".data/graphrag\")\n",
"\n",
"LocalStorage.remove_all(repo_clone_location)\n",
"\n",
@ -86,7 +86,7 @@
"from cognee.modules.pipelines import run_tasks\n",
"\n",
"notebook_path = os.path.abspath(\"\")\n",
"repo_clone_location = os.path.join(notebook_path, \"data/graphrag\")\n",
"repo_clone_location = os.path.join(notebook_path, \".data/graphrag\")\n",
"\n",
"pipeline = run_tasks(tasks, repo_clone_location, \"code_graph_pipeline\")\n",
"\n",