-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into test/roll_back_boto3_for_report_upload
- Loading branch information
Showing
6 changed files
with
31 additions
and
44 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
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 |
---|---|---|
|
@@ -4,18 +4,18 @@ on: | |
workflow_dispatch: | ||
inputs: | ||
use_minimal_test_account: | ||
description: 'Use minimal test account' | ||
description: 'Indicate whether to use a minimal test account with limited resources for testing. Defaults to "false"' | ||
required: false | ||
default: 'false' | ||
sha: | ||
description: 'The hash value of the commit' | ||
required: false | ||
description: 'Specify commit hash to test. This value is mandatory to ensure the tests run against a specific commit' | ||
required: true | ||
default: '' | ||
python-version: | ||
description: 'Specify Python version to use' | ||
description: 'Specify the Python version to use for running tests. Leave empty to use the default Python version configured in the environment' | ||
required: false | ||
run-eol-python-version: | ||
description: 'Run EOL python version?' | ||
description: 'Indicates whether to run tests using an End-of-Life (EOL) Python version. Defaults to "false". Choose "true" to include tests for deprecated Python versions' | ||
required: false | ||
default: 'false' | ||
type: choice | ||
|
@@ -28,8 +28,8 @@ on: | |
- dev | ||
|
||
env: | ||
DEFAULT_PYTHON_VERSION: "3.9" | ||
EOL_PYTHON_VERSION: "3.8" | ||
DEFAULT_PYTHON_VERSION: "3.10" | ||
EOL_PYTHON_VERSION: "3.9" | ||
EXIT_STATUS: 0 | ||
|
||
jobs: | ||
|
@@ -72,7 +72,7 @@ jobs: | |
run: | | ||
timestamp=$(date +'%Y%m%d%H%M') | ||
report_filename="${timestamp}_sdk_test_report.xml" | ||
make testint TEST_ARGS="--junitxml=${report_filename}" | ||
make test-int TEST_ARGS="--junitxml=${report_filename}" | ||
env: | ||
LINODE_TOKEN: ${{ env.LINODE_TOKEN }} | ||
|
||
|
@@ -197,7 +197,7 @@ jobs: | |
notify-slack: | ||
runs-on: ubuntu-latest | ||
needs: [integration-tests] | ||
if: ${{ (success() || failure()) && github.repository == 'linode/linode_api4-python' }} # Run even if integration tests fail and only on main repository | ||
if: ${{ (success() || failure()) }} # Run even if integration tests fail and only on main repository | ||
steps: | ||
- name: Notify Slack | ||
uses: slackapi/[email protected] | ||
|
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 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