fix: enable checks for dev
This commit is contained in:
parent
c24df239ea
commit
aa46bb3d64
6 changed files with 12 additions and 17 deletions
7
.github/workflows/cd.yaml
vendored
7
.github/workflows/cd.yaml
vendored
|
|
@ -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 }}"
|
||||
|
|
|
|||
2
.github/workflows/docker_compose.yml
vendored
2
.github/workflows/docker_compose.yml
vendored
|
|
@ -4,9 +4,11 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
- dev
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
docker-compose-test:
|
||||
|
|
|
|||
5
.github/workflows/profiling.yaml
vendored
5
.github/workflows/profiling.yaml
vendored
|
|
@ -1,7 +1,10 @@
|
|||
name: test | profiling
|
||||
|
||||
on:
|
||||
push
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
types: [labeled, synchronize]
|
||||
|
||||
jobs:
|
||||
profiler:
|
||||
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
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- devel
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
|
||||
concurrency:
|
||||
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:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
types: [labeled, synchronize]
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue