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 7faef50 commit b018b37
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 @@ -116,8 +116,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 @@ -203,22 +201,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 b018b37

Please sign in to comment.