Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
# were modified. All directories should have a proper codeowner
# Syntax: https://help.github.com/articles/about-codeowners/

* @4og @masc2023 @aschemmel-tech
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: new line is missing

69 changes: 57 additions & 12 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,16 @@ jobs:
git commit -m "Create persistent storage"
git push origin save_historical_data
fi
git checkout $branch_name
git checkout save_historical_data -- TSF/MemoryEfficientTestResultData.db
# Handle fork PRs by staying on current working branch instead of switching
if [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
# For PRs, we're already on the right commit from actions/checkout
# Just get the file from save_historical_data branch
git checkout save_historical_data -- TSF/MemoryEfficientTestResultData.db
else
# For push events, switch to the branch and get the file
git checkout $branch_name
git checkout save_historical_data -- TSF/MemoryEfficientTestResultData.db
fi

- name: append test data
run: |
Expand All @@ -379,8 +387,15 @@ jobs:
- name: Recover stash
if: github.event_name == 'schedule' || (github.event_name == 'push' && github.ref_name == 'main')
run: |
git checkout $branch_name
git stash apply
# Handle fork PRs by staying on current working branch instead of switching
if [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
# For PRs, we're already on the right branch/commit
git stash apply
else
# For push events, switch back to the working branch
git checkout $branch_name
git stash apply
fi

- name: Move test report
run: |
Expand Down Expand Up @@ -441,8 +456,16 @@ jobs:
git commit -m "Create persistent storage"
git push origin save_historical_data
fi
git checkout $branch_name
git checkout save_historical_data -- TSF/MemoryEfficientTestResultData.db
# Handle fork PRs by staying on current working branch instead of switching
if [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
# For PRs, we're already on the right commit from actions/checkout
# Just get the file from save_historical_data branch
git checkout save_historical_data -- TSF/MemoryEfficientTestResultData.db
else
# For push events, switch to the branch and get the file
git checkout $branch_name
git checkout save_historical_data -- TSF/MemoryEfficientTestResultData.db
fi

- name: append test data
run: |
Expand All @@ -464,8 +487,15 @@ jobs:
- name: Recover stash
if: github.event_name == 'schedule' || (github.event_name == 'push' && github.ref_name == 'main')
run: |
git checkout $branch_name
git stash apply
# Handle fork PRs by staying on current working branch instead of switching
if [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
# For PRs, we're already on the right branch/commit
git stash apply
else
# For push events, switch back to the working branch
git checkout $branch_name
git stash apply
fi

- name: Move test report
run: |
Expand Down Expand Up @@ -526,8 +556,16 @@ jobs:
git commit -m "Create persistent storage"
git push origin save_historical_data
fi
git checkout $branch_name
git checkout save_historical_data -- TSF/MemoryEfficientTestResultData.db
# Handle fork PRs by staying on current working branch instead of switching
if [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
# For PRs, we're already on the right commit from actions/checkout
# Just get the file from save_historical_data branch
git checkout save_historical_data -- TSF/MemoryEfficientTestResultData.db
else
# For push events, switch to the branch and get the file
git checkout $branch_name
git checkout save_historical_data -- TSF/MemoryEfficientTestResultData.db
fi

- name: append test data
run: |
Expand All @@ -549,8 +587,15 @@ jobs:
- name: Recover stash
if: github.event_name == 'schedule' || (github.event_name == 'push' && github.ref_name == 'main')
run: |
git checkout $branch_name
git stash apply
# Handle fork PRs by staying on current working branch instead of switching
if [[ "$GITHUB_EVENT_NAME" == "pull_request" ]]; then
# For PRs, we're already on the right branch/commit
git stash apply
else
# For push events, switch back to the working branch
git checkout $branch_name
git stash apply
fi

- name: Move test report
run: |
Expand Down