Skip to content

Commit c1f03d4

Browse files
committed
fix
1 parent 4d7d7ab commit c1f03d4

1 file changed

Lines changed: 51 additions & 46 deletions

File tree

.github/workflows/pr_build_and_test.yml

Lines changed: 51 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -10,41 +10,41 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
clone:
14-
name: FD-Clone-Linux
15-
uses: ./.github/workflows/_clone_linux.yml
16-
17-
build:
18-
name: FD-Build-Linux
19-
needs: clone
20-
uses: ./.github/workflows/_build_linux.yml
21-
with:
22-
DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddleqa:fastdeploy-ciuse-cuda126-dailyupdate
23-
FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
24-
COMPILE_ARCH: "90"
25-
WITH_NIGHTLY_BUILD: "OFF"
26-
FD_VERSION: "0.0.0"
27-
28-
resultshow:
29-
name: Use Build Output
30-
needs: build
31-
runs-on: ubuntu-latest
32-
steps:
33-
- name: Print wheel path
34-
run: |
35-
echo "The built wheel is located at: ${{ needs.build.outputs.wheel_path }}"
36-
37-
gpu_unittest:
38-
name: Run FastDeploy Unit Tests with Coverage
39-
needs: [clone,build]
40-
uses: ./.github/workflows/_unit_test_coverage.yml
41-
with:
42-
DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddleqa:fastdeploy-ciuse-cuda126-dailyupdate
43-
FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
44-
FASTDEPLOY_WHEEL_URL: ${{ needs.build.outputs.wheel_path }}
45-
MODEL_CACHE_DIR: "/ssd2/actions-runner/ModelData"
46-
secrets:
47-
github-token: ${{ secrets.GITHUB_TOKEN }}
13+
# clone:
14+
# name: FD-Clone-Linux
15+
# uses: ./.github/workflows/_clone_linux.yml
16+
17+
# build:
18+
# name: FD-Build-Linux
19+
# needs: clone
20+
# uses: ./.github/workflows/_build_linux.yml
21+
# with:
22+
# DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddleqa:fastdeploy-ciuse-cuda126-dailyupdate
23+
# FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
24+
# COMPILE_ARCH: "90"
25+
# WITH_NIGHTLY_BUILD: "OFF"
26+
# FD_VERSION: "0.0.0"
27+
28+
# resultshow:
29+
# name: Use Build Output
30+
# needs: build
31+
# runs-on: ubuntu-latest
32+
# steps:
33+
# - name: Print wheel path
34+
# run: |
35+
# echo "The built wheel is located at: ${{ needs.build.outputs.wheel_path }}"
36+
37+
# gpu_unittest:
38+
# name: Run FastDeploy Unit Tests with Coverage
39+
# needs: [clone,build]
40+
# uses: ./.github/workflows/_unit_test_coverage.yml
41+
# with:
42+
# DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddleqa:fastdeploy-ciuse-cuda126-dailyupdate
43+
# FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
44+
# FASTDEPLOY_WHEEL_URL: ${{ needs.build.outputs.wheel_path }}
45+
# MODEL_CACHE_DIR: "/ssd2/actions-runner/ModelData"
46+
# secrets:
47+
# github-token: ${{ secrets.GITHUB_TOKEN }}
4848

4949
# logprob_test:
5050
# name: Run FastDeploy LogProb Tests
@@ -96,21 +96,24 @@ jobs:
9696
# FASTDEPLOY_WHEEL_URL: ${{ needs.build.outputs.wheel_path }}
9797
# MODEL_CACHE_DIR: "/ssd2/actions-runner/ModelData"
9898

99-
xpu_unittest:
100-
name: Run XPU Test with Coverage
101-
needs: [clone]
102-
uses: ./.github/workflows/_ci_xpu.yml
103-
with:
104-
DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu-ci:latest
105-
FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
99+
# xpu_unittest:
100+
# name: Run XPU Test with Coverage
101+
# needs: [clone]
102+
# uses: ./.github/workflows/_ci_xpu.yml
103+
# with:
104+
# DOCKER_IMAGE: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu-ci:latest
105+
# FASTDEPLOY_ARCHIVE_URL: ${{ needs.clone.outputs.repo_archive_url }}
106106

107107
coverage_combine:
108108
name: Coverage Combine And Check
109-
needs: [clone, gpu_unittest, xpu_unittest]
109+
# needs: [clone, gpu_unittest, xpu_unittest]
110110
env:
111-
fd_archive_url: ${{ needs.clone.outputs.repo_archive_url }}
112-
gpu_cov_file_url: ${{ needs.gpu_unittest.outputs.gpu_cov_file_url }}
113-
xpu_cov_file_url: ${{ needs.xpu_unittest.outputs.xpu_cov_file_url }}
111+
# fd_archive_url: ${{ needs.clone.outputs.repo_archive_url }}
112+
# gpu_cov_file_url: ${{ needs.gpu_unittest.outputs.gpu_cov_file_url }}
113+
# xpu_cov_file_url: ${{ needs.xpu_unittest.outputs.xpu_cov_file_url }}
114+
fd_archive_url: https://paddle-github-action.bj.bcebos.com/PR/FastDeploy/4132/2cc450eb9dbb12f59ba8b50432f9fe6d5600eb5d/FastDeploy.tar.gz
115+
gpu_cov_file_url: https://paddle-github-action.bj.bcebos.com/PR/FastDeploy/4132/2cc450eb9dbb12f59ba8b50432f9fe6d5600eb5d/GPU//CoverageData/gpu_coverage.tar
116+
xpu_cov_file_url: https://paddle-github-action.bj.bcebos.com/PR/FastDeploy/4132/2cc450eb9dbb12f59ba8b50432f9fe6d5600eb5d/XPU/CoverageData/xpu_coverage.tar
114117
BASE_REF: ${{ github.event.pull_request.base.ref }}
115118
runs-on: ubuntu-latest
116119
steps:
@@ -148,6 +151,8 @@ jobs:
148151
env:
149152
IS_PR: ${{ github.event_name == 'pull_request' }}
150153
run: |
154+
pwd
155+
151156
python -m pip install coverage diff-cover
152157
export COVERAGE_FILE=coveragedata/.coverage
153158
coverage combine coveragedata/

0 commit comments

Comments
 (0)