-
Notifications
You must be signed in to change notification settings - Fork 27.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Past CI not running against the latest main
#22823
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -30,6 +30,7 @@ jobs: | |
with: | ||
framework: pytorch | ||
version: "1.13" | ||
sha: ${{ github.sha }} | ||
secrets: inherit | ||
|
||
run_past_ci_pytorch_1-12: | ||
|
@@ -40,6 +41,7 @@ jobs: | |
with: | ||
framework: pytorch | ||
version: "1.12" | ||
sha: ${{ github.sha }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pass the commit sha of the triggered event to past workflow file. |
||
secrets: inherit | ||
|
||
run_past_ci_pytorch_1-11: | ||
|
@@ -50,6 +52,7 @@ jobs: | |
with: | ||
framework: pytorch | ||
version: "1.11" | ||
sha: ${{ github.sha }} | ||
secrets: inherit | ||
|
||
run_past_ci_pytorch_1-10: | ||
|
@@ -60,6 +63,7 @@ jobs: | |
with: | ||
framework: pytorch | ||
version: "1.10" | ||
sha: ${{ github.sha }} | ||
secrets: inherit | ||
|
||
run_past_ci_pytorch_1-9: | ||
|
@@ -70,6 +74,7 @@ jobs: | |
with: | ||
framework: pytorch | ||
version: "1.9" | ||
sha: ${{ github.sha }} | ||
secrets: inherit | ||
|
||
run_past_ci_tensorflow_2-11: | ||
|
@@ -80,6 +85,7 @@ jobs: | |
with: | ||
framework: tensorflow | ||
version: "2.11" | ||
sha: ${{ github.sha }} | ||
secrets: inherit | ||
|
||
run_past_ci_tensorflow_2-10: | ||
|
@@ -90,6 +96,7 @@ jobs: | |
with: | ||
framework: tensorflow | ||
version: "2.10" | ||
sha: ${{ github.sha }} | ||
secrets: inherit | ||
|
||
run_past_ci_tensorflow_2-9: | ||
|
@@ -100,6 +107,7 @@ jobs: | |
with: | ||
framework: tensorflow | ||
version: "2.9" | ||
sha: ${{ github.sha }} | ||
secrets: inherit | ||
|
||
run_past_ci_tensorflow_2-8: | ||
|
@@ -110,6 +118,7 @@ jobs: | |
with: | ||
framework: tensorflow | ||
version: "2.8" | ||
sha: ${{ github.sha }} | ||
secrets: inherit | ||
|
||
run_past_ci_tensorflow_2-7: | ||
|
@@ -120,6 +129,7 @@ jobs: | |
with: | ||
framework: tensorflow | ||
version: "2.7" | ||
sha: ${{ github.sha }} | ||
secrets: inherit | ||
|
||
run_past_ci_tensorflow_2-6: | ||
|
@@ -130,6 +140,7 @@ jobs: | |
with: | ||
framework: tensorflow | ||
version: "2.6" | ||
sha: ${{ github.sha }} | ||
secrets: inherit | ||
|
||
run_past_ci_tensorflow_2-5: | ||
|
@@ -140,4 +151,5 @@ jobs: | |
with: | ||
framework: tensorflow | ||
version: "2.5" | ||
sha: ${{ github.sha }} | ||
secrets: inherit |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow file
self-past.yml
, when used in aworkflow_call
, accept some inputs includingsha
:transformers/.github/workflows/self-past.yml
Lines 10 to 22 in 0670ccb
Previously, the Past CI is launched manually by @ydshieh, and the goal is to targe a fixed & specific commit for some runs (so we can compare the results before/after the fixes). At that time, it was launched only once during a few months.
Right now, we run it twice per week, see #22393, it makes more sense to run the CI against latest
main
. Otherwise, the reports of the (automatically triggered) runs will contain failures that have been fixed onmain
and hard to understand at the 1st galance.