-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Avimitin <[email protected]>
- Loading branch information
Showing
8 changed files
with
64 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,4 +106,19 @@ jobs: | |
--cycle-update-file-path ./cycle-update.md \ | ||
--emu-type vcs | ||
cat ./failed-tests.md >> $GITHUB_STEP_SUMMARY | ||
echo >> $GITHUB_STEP_SUMMARY | ||
cat ./cycle-update.md >> $GITHUB_STEP_SUMMARY | ||
- name: "Commit cycle updates" | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
changed_cases=$(git diff --name-only '.github/**/default.json') | ||
if [ -n "$changed_cases" ]; then | ||
echo "changed cases: $changed_cases" | ||
git add '.github/**/default.json' | ||
git commit -m "[ci] update test case cycle data" | ||
git push origin ${{ github.head_ref }} | ||
else | ||
echo "No cycle change detect" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -100,6 +100,24 @@ jobs: | |
ref: ${{ github.head_ref }} | ||
- name: "Print step summary" | ||
run: | | ||
nix run ".#ci-helper" -- postCI --failed-tests-file-path ./failed-tests.md --emu-type vcs --cycle-update-file-path ./cycle-update.md | ||
cat ./failed-tests.md >> $GITHUB_STEP_SUMMARY | ||
nix run ".#ci-helper" -- postCI \ | ||
--cycle-update-file-path ./cycle-update.md \ | ||
--failed-tests-file-path ./failed-tests.md \ | ||
--emu-type vcs | ||
cat ./cycle-update.md >> $GITHUB_STEP_SUMMARY | ||
echo >> $GITHUB_STEP_SUMMARY | ||
cat ./failed-tests.md >> $GITHUB_STEP_SUMMARY | ||
- name: "Commit cycle updates" | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
changed_cases=$(git diff --name-only '.github/**/default.json') | ||
if [ -n "$changed_cases" ]; then | ||
echo "changed cases: $changed_cases" | ||
git add '.github/**/default.json' | ||
git commit -m "[ci] update test case cycle data" | ||
git push origin ${{ github.head_ref }} | ||
else | ||
echo "No cycle change detect" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,4 +108,19 @@ jobs: | |
--failed-tests-file-path ./failed-tests.md \ | ||
--cycle-update-file-path ./cycle-update.md | ||
cat ./failed-tests.md >> $GITHUB_STEP_SUMMARY | ||
echo >> $GITHUB_STEP_SUMMARY | ||
cat ./cycle-update.md >> $GITHUB_STEP_SUMMARY | ||
- name: "Commit cycle updates" | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
changed_cases=$(git diff --name-only '.github/**/default.json') | ||
if [ -n "$changed_cases" ]; then | ||
echo "changed cases: $changed_cases" | ||
git add '.github/**/default.json' | ||
git commit -m "[ci] update test case cycle data" | ||
git push origin ${{ github.head_ref }} | ||
else | ||
echo "No cycle change detect" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters