fix: enable checks for dev
This commit is contained in:
parent
c24df239ea
commit
aa46bb3d64
6 changed files with 12 additions and 17 deletions
11
.github/workflows/cd.yaml
vendored
11
.github/workflows/cd.yaml
vendored
|
|
@ -3,7 +3,7 @@ name: publish dev | Docker image
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- dev
|
||||||
- feature/*
|
- feature/*
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
|
@ -28,13 +28,8 @@ jobs:
|
||||||
- name: Set environment variable for stage
|
- name: Set environment variable for stage
|
||||||
id: set-env
|
id: set-env
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
|
echo "STAGE=dev" >> $GITHUB_ENV
|
||||||
echo "STAGE=prd" >> $GITHUB_ENV
|
echo "::set-output name=stage::dev"
|
||||||
echo "::set-output name=stage::prd"
|
|
||||||
else
|
|
||||||
echo "STAGE=dev" >> $GITHUB_ENV
|
|
||||||
echo "::set-output name=stage::dev"
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Use output
|
- name: Use output
|
||||||
run: echo "The stage is ${{ steps.set-env.outputs.stage }}"
|
run: echo "The stage is ${{ steps.set-env.outputs.stage }}"
|
||||||
|
|
|
||||||
2
.github/workflows/docker_compose.yml
vendored
2
.github/workflows/docker_compose.yml
vendored
|
|
@ -4,9 +4,11 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- dev
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
- dev
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker-compose-test:
|
docker-compose-test:
|
||||||
|
|
|
||||||
5
.github/workflows/profiling.yaml
vendored
5
.github/workflows/profiling.yaml
vendored
|
|
@ -1,7 +1,10 @@
|
||||||
name: test | profiling
|
name: test | profiling
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push
|
workflow_dispatch:
|
||||||
|
pull_request:
|
||||||
|
types: [labeled, synchronize]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
profiler:
|
profiler:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
5
.github/workflows/py_lint.yml
vendored
5
.github/workflows/py_lint.yml
vendored
|
|
@ -2,11 +2,8 @@
|
||||||
name: lint | code & tests
|
name: lint | code & tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- devel
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
|
|
||||||
2
.github/workflows/test_deduplication.yml
vendored
2
.github/workflows/test_deduplication.yml
vendored
|
|
@ -3,8 +3,6 @@ name: test | deduplication
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
types: [labeled, synchronize]
|
types: [labeled, synchronize]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
"import git\n",
|
"import git\n",
|
||||||
"\n",
|
"\n",
|
||||||
"notebook_path = path.abspath(\"\")\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",
|
"\n",
|
||||||
"LocalStorage.remove_all(repo_clone_location)\n",
|
"LocalStorage.remove_all(repo_clone_location)\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|
@ -86,7 +86,7 @@
|
||||||
"from cognee.modules.pipelines import run_tasks\n",
|
"from cognee.modules.pipelines import run_tasks\n",
|
||||||
"\n",
|
"\n",
|
||||||
"notebook_path = os.path.abspath(\"\")\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",
|
"\n",
|
||||||
"pipeline = run_tasks(tasks, repo_clone_location, \"code_graph_pipeline\")\n",
|
"pipeline = run_tasks(tasks, repo_clone_location, \"code_graph_pipeline\")\n",
|
||||||
"\n",
|
"\n",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue