Skip to content

Commit

Permalink
[ci] remove cycle related perf data from subsystem tests
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin committed Feb 3, 2024
1 parent ce68891 commit e86420d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
5 changes: 4 additions & 1 deletion .github/scripts/ci.sc
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,10 @@ def runTests(jobs: String, runTarget: String = "ip", resultDir: Option[os.Path],
os.write(actualResultDir / "failed-logs" / s"$job.txt", handle.out.text)
failed :+ job
} else {
writeCycleUpdates(job, testRunDir, actualResultDir)
if (runTarget == "ip") {
writeCycleUpdates(job, testRunDir, actualResultDir)
}

failed
}
}
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/subsystem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ jobs:
name: test-reports-${{ matrix.id }}
path: |
test-results-*/failed-tests.md
test-results-*/cycle-updates.md
test-results-*/*_cycle.json
- uses: actions/upload-artifact@v4
if: failure()
Expand Down Expand Up @@ -199,22 +197,3 @@ jobs:
echo -e "\n## Failed tests\n" >> $GITHUB_STEP_SUMMARY
shopt -s nullglob
cat test-results-*/failed-tests.md >> $GITHUB_STEP_SUMMARY
echo -e "\n## Cycle updates\n" >> $GITHUB_STEP_SUMMARY
shopt -s nullglob
cat test-results-*/cycle-updates.md >> $GITHUB_STEP_SUMMARY
- name: "Commit cycle updates"
run: |
nix shell ".#ammonite" -c .github/scripts/ci.sc mergeCycleData
git config user.name github-actions
git config user.email [email protected]
changed_cases=$(git diff --name-only '.github/cases/**/default.json')
if [ -n "$changed_cases" ]; then
echo "changed cases: $changed_cases"
git add '.github/cases/**/default.json'
git commit -m "[ci] update test case cycle data"
git push origin ${{ github.head_ref }}
else
echo "No cycle change detect"
fi

0 comments on commit e86420d

Please sign in to comment.