-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66910 from dwoz/merge/3007.x/3006.x
[3007.x] Merge forward 3006.x into 3007.x
- Loading branch information
Showing
101 changed files
with
1,684 additions
and
547 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
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
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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
name: Test NSIS Installer | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
changed-files: | ||
required: true | ||
type: string | ||
description: JSON string containing information about changed files | ||
|
||
jobs: | ||
Test-NSIS-Logic: | ||
name: Logic Tests | ||
runs-on: | ||
- windows-latest | ||
if: ${{ contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name) || fromJSON(inputs.changed-files)['nsis_tests'] }} | ||
|
||
steps: | ||
|
||
- name: Checkout Salt | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set Up Python 3.10 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Install NSIS | ||
run: .\pkg\windows\install_nsis.cmd -CICD | ||
shell: cmd | ||
|
||
- name: Build Test Installer | ||
run: .\pkg\windows\nsis\tests\setup.cmd -CICD | ||
shell: cmd | ||
|
||
- name: Run Config Tests | ||
run: .\pkg\windows\nsis\tests\test.cmd -CICD .\config_tests | ||
shell: cmd | ||
|
||
Test-NSIS-Stress: | ||
name: Stress Tests | ||
runs-on: | ||
- windows-latest | ||
if: ${{ contains(fromJSON('["push", "schedule", "workflow_dispatch"]'), github.event_name) || fromJSON(inputs.changed-files)['nsis_tests'] }} | ||
|
||
steps: | ||
|
||
- name: Checkout Salt | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set Up Python 3.10 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
|
||
- name: Install NSIS | ||
run: .\pkg\windows\install_nsis.cmd -CICD | ||
shell: cmd | ||
|
||
- name: Build Test Installer | ||
run: .\pkg\windows\nsis\tests\setup.cmd -CICD | ||
shell: cmd | ||
|
||
- name: Run Stress Test | ||
run: .\pkg\windows\nsis\tests\test.cmd -CICD .\stress_tests | ||
shell: cmd |
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
Oops, something went wrong.