-
Notifications
You must be signed in to change notification settings - Fork 37
feat: add comprehensive support matrix testing framework #126
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
c5f5887
feat: create support matrix csv
Harrilee 2bd2c16
feat(support_matrix): add tests
Harrilee d1a6def
docs: update README
Harrilee be13345
docs: add copyright
Harrilee ea7daaa
add tqdm dependency
Harrilee 17ad6b4
feat: workflow CI and csv
Harrilee 77a63fb
fix: daily test workflow
Harrilee e46d305
test: test_newer_versions_have_no_narrower_support
Harrilee feae49d
feat: store traceback in err msg
Harrilee f0c50de
feat: sort csv, integrate traceback to one line
Harrilee 6c8c921
refactor: move support matrix tool
Harrilee 4e65ceb
Merge branch 'main' into harrli/support_matrix
Harrilee d56cbec
fix: remove redundant space
Harrilee cb1154f
refactor: move support_matrix.py to tests
Harrilee 17f69ce
update csv after rebase
Harrilee 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: "Daily Support Matrix Test" | ||
|
|
||
| on: | ||
| schedule: | ||
| # Run daily at 7 AM PT / 11 PM China / 3 PM UTC | ||
| - cron: "0 15 * * *" | ||
| workflow_dispatch: # Allow manual trigger (with no inputs) | ||
|
|
||
| jobs: | ||
| test-support-matrix: | ||
| name: Test Support Matrix | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 480 # 8 hours | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| lfs: true | ||
|
|
||
| - name: Git LFS Pull | ||
| run: git lfs pull | ||
|
|
||
| - name: Build test container | ||
| run: | | ||
| docker build -f docker/Dockerfile -t aiconfigurator:test --target test . | ||
|
|
||
| - name: Run support matrix tests in container | ||
| run: | | ||
| docker run --name aic-support-matrix --env TEST_SUPPORT_MATRIX=true aiconfigurator:test \ | ||
| pytest tests/sdk/support_matrix/test_support_matrix.py -v --tb=short |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.