Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinxc committed Jan 4, 2024
1 parent 3695876 commit 5071496
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 41 deletions.
1 change: 0 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ orbs:

workflows:
unittest-workflow:
when: << pipeline.parameters.GHA_Action >>
jobs:
- path-filtering/filter:
base-revision: main
Expand Down
12 changes: 8 additions & 4 deletions .circleci/continue-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,15 @@ jobs:
command: git clone https://github.com/secretflow/devtools.git ../devtools
- run:
name: Setup GCS
command: ../devtools/base64_converter.py --str ${gcs_content} --out_file ../gcs.json
command: |
echo ${gcs_content} > ../gcs.data
../devtools/gcs_setup.py --in_file=../gcs.data --out_file=../gcs.json --min_download
- run:
name: "build and test"
command: |
set +e
declare -i test_status
bazel test //... -c opt --ui_event_filters=-info,-debug,-warning --test_output=errors --jobs 16 --remote_cache=https://storage.googleapis.com/secretflow --google_credentials=../gcs.json --remote_download_minimal | tee test_result.log; test_status=${PIPESTATUS[0]}
bazel test //... -c opt --ui_event_filters=-info,-debug,-warning --test_output=errors --jobs 16 | tee test_result.log; test_status=${PIPESTATUS[0]}
git clone https://github.com/secretflow/devtools.git
sh devtools/rename-junit-xml.sh
Expand Down Expand Up @@ -91,13 +93,15 @@ jobs:
command: git clone https://github.com/secretflow/devtools.git ../devtools
- run:
name: Setup GCS
command: ../devtools/base64_converter.py --str ${gcs_content} --out_file ../gcs.json
command: |
echo ${gcs_content} > ../gcs.data
../devtools/gcs_setup.py --in_file=../gcs.data --out_file=../gcs.json --min_download
- run:
name: "build and test"
command: |
set +e
declare -i test_status
bazel test //... -c opt --ui_event_filters=-info,-debug,-warning --test_output=errors --remote_cache=https://storage.googleapis.com/secretflow --google_credentials=../gcs.json --remote_download_minimal | tee test_result.log; test_status=${PIPESTATUS[0]}
bazel test //... -c opt --ui_event_filters=-info,-debug,-warning --test_output=errors | tee test_result.log; test_status=${PIPESTATUS[0]}
git clone https://github.com/secretflow/devtools.git
sh devtools/rename-junit-xml.sh
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/circleci_pull_request.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/circleci_push.yml

This file was deleted.

0 comments on commit 5071496

Please sign in to comment.