Skip to content

Commit

Permalink
update regression tests and use pr number 1 for scheduled runs
Browse files Browse the repository at this point in the history
  • Loading branch information
MyroTk committed Oct 17, 2024
1 parent aec2636 commit b49c0bf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ env:
--output classic
--parallel 1
--log raw.log
--with-analyzer
artifacts: builds
artifact_paths: |
./report.html
Expand Down Expand Up @@ -570,6 +571,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: Altinity/clickhouse-regression
ref: ${{ inputs.commit }}
- name: Set envs
run: |
cat >> "$GITHUB_ENV" << 'EOF'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,8 @@ jobs:
secrets: inherit
with:
runner_type: altinity-on-demand, altinity-type-cpx51, altinity-image-x86-app-docker-ce, altinity-setup-regression
commit: c5e1513a2214ee33696c29717935e0a94989ac2a
arch: release
commit: bd1ce3c3d74a6ad2f55fbe0bd02033a523bc5b3c
arch: release
build_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
RegressionTestsAarch64:
needs: [BuilderDebAarch64]
Expand All @@ -517,7 +517,7 @@ jobs:
secrets: inherit
with:
runner_type: altinity-on-demand, altinity-type-cax41, altinity-image-arm-app-docker-ce, altinity-setup-regression
commit: c5e1513a2214ee33696c29717935e0a94989ac2a
commit: bd1ce3c3d74a6ad2f55fbe0bd02033a523bc5b3c
arch: aarch64
build_sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
SignRelease:
Expand Down
2 changes: 1 addition & 1 deletion tests/ci/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -2101,7 +2101,7 @@ def main() -> int:
job_report.check_name or _get_ext_check_name(args.job_name),
)

print(f"Job report url: [{check_url}]")
print(f"Job report url: [ {check_url} ]")
prepared_events = prepare_tests_results_for_clickhouse(
pr_info,
job_report.test_results,
Expand Down
2 changes: 1 addition & 1 deletion tests/ci/pr_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def __init__(
self.sha = os.getenv(
"GITHUB_SHA", "0000000000000000000000000000000000000000"
)
self.number = 0
self.number = 1
self.commit_html_url = f"{repo_prefix}/commit/{self.sha}"
self.pr_html_url = f"{repo_prefix}/commits/{ref}"
self.base_ref = ref
Expand Down

0 comments on commit b49c0bf

Please sign in to comment.