Skip to content

Commit

Permalink
+22
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Aug 31, 2024
1 parent 398f699 commit e2585ed
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/upstream pretest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ jobs:
uses: actions/checkout@main
with:
ref: ${{ github.event.repository.default_branch }}
path: './core'
path: './POCGL' # needs to have exactly this name for consistent traces in err tests
fetch-depth: 0

- name: checkout subm fork
Expand Down Expand Up @@ -424,7 +424,7 @@ jobs:
Write-Host "Updating main repo..."
Push-Location './core'
Push-Location './POCGL'
git fetch --all 2>&1 | Out-Null
if (&{ git show-ref --verify -q "refs/remotes/origin/$b_core_subm_pretest"; $? }) {
Expand Down Expand Up @@ -467,13 +467,17 @@ jobs:
}
$core_pretest_sha = git rev-parse HEAD
if (-not $?) { throw "git rev-parse failed" }
Pop-Location
Write-Host "Adding meta to fork repo..."
Push-Location './fork'
$pr_head_sha = git rev-parse "remotes/0_official/pull/$pr_num/head"
if (-not $?) { throw "git rev-parse failed" }
git commit --allow-empty -m @"
Add pretest meta
meta.pr_head_sha=$pr_head_sha
Expand Down Expand Up @@ -509,7 +513,7 @@ jobs:
Write-Host "Testing main repo..."
Push-Location './core'
Push-Location './POCGL'
& .\DeleteAllTemp.bat NoPause | Out-Null
Expand Down Expand Up @@ -554,7 +558,7 @@ jobs:
- name: checkout main repo
uses: actions/checkout@main
with:
path: './core'
path: './POCGL'
fetch-depth: 0
sparse-checkout-cone-mode: false
sparse-checkout: '.gitmodules'
Expand Down Expand Up @@ -584,7 +588,7 @@ jobs:
Push-Location './core'
Push-Location './POCGL'
$core_removed_pr_nums = @()
foreach ($pr_num in $core_pretest_pr_nums) {
Expand Down

0 comments on commit e2585ed

Please sign in to comment.