-
Notifications
You must be signed in to change notification settings - Fork 127
Introduce tm1-11 environment for tests #1392
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,9 +8,9 @@ on: | |
| required: true | ||
| default: 'master' | ||
| environments: | ||
| description: 'JSON array of environments to test (e.g., ["tm1-11-cloud", "tm1-11-cloud"])' | ||
| description: 'JSON array of environments to test (e.g., ["tm1-11", "tm1-12-cloud", "tm1-11-cloud"])' | ||
| required: true | ||
| default: '["tm1-12-cloud","tm1-11-cloud"]' | ||
| default: '["tm1-11","tm1-12-cloud","tm1-11-cloud"]' | ||
|
|
||
| jobs: | ||
| test: | ||
|
|
@@ -63,7 +63,13 @@ jobs: | |
| TM1_CONNECTION: ${{ vars.TM1_CONNECTION }} | ||
| TM1_CONNECTION_SECRET: ${{ secrets.TM1_CONNECTION_SECRET }} | ||
|
|
||
| - name: Run tests | ||
| - name: Run required tests (tm1-11) | ||
| if: ${{ matrix.environment == 'tm1-11' }} | ||
| run: pytest Tests/ | ||
|
|
||
| - name: Run optional cloud tests (tm1-12-cloud, tm1-11-cloud) | ||
| if: ${{ matrix.environment == 'tm1-12-cloud' || matrix.environment == 'tm1-11-cloud' }} | ||
| continue-on-error: true | ||
| run: pytest Tests/ | ||
|
Comment on lines
+66
to
73
|
||
|
|
||
| - name: Upload test results | ||
|
|
||
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.
This change makes the cloud environments' test step
continue-on-error: true, which will allow the workflow to pass even when those tests fail. If the intent is only to reduce flakiness from remote disconnects, consider documenting this behavior explicitly in the workflow (or in the PR description) and/or using job-level optionality so it's clear that failures are being tolerated and won't block merges.