Skip to content

Commit

Permalink
[ci]Update perf test
Browse files Browse the repository at this point in the history
Signed-off-by: zhuwenxing <[email protected]>
  • Loading branch information
zhuwenxing committed Oct 13, 2023
1 parent ca4ad82 commit 3f379a4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 31 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,9 @@ name: Test

on:
push:
paths:
- 'build/**'
- 'cmd/**'
- 'configs/**'
- 'core/**'
- 'example/**'
- 'internal/**'
- 'tests/**'
- '!**.md'
- '.github/workflows/main.yaml'
- 'deployment/**'
- '**/*.go'
- '**/go.mod'
- '**/go.sum'
branches:
- main
pull_request:
paths:
- 'build/**'
- 'cmd/**'
- 'configs/**'
- 'core/**'
- 'example/**'
- 'internal/**'
- 'tests/**'
- '!**.md'
- '.github/workflows/main.yaml'
- 'deployment/**'
- '**/*.go'
- '**/go.mod'
- '**/go.sum'
branches:
- main
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
shell: bash
working-directory: tests
run: |
pytest -s -v --tags L0, L1, L2, L3
pytest -s -v --tags L0 L1 L2 L3
- name: Get Milvus status
shell: bash
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/perf.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
name: Perf Test

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
schedule:
- cron: '0 2 * * *'
- cron: '0 4 * * *'

jobs:
test-backup-restore-api:
Expand Down Expand Up @@ -91,7 +97,7 @@ jobs:
shell: bash
working-directory: tests
run: |
pytest -s -v --tags Perf
pytest -s -v --tags Perf --log-cli-level=INFO --capture=no
- name: Get Milvus status
shell: bash
Expand Down

0 comments on commit 3f379a4

Please sign in to comment.