Skip to content

Commit ddb41a3

Browse files
authored
Ben/recategorize tests (#940)
* reduce smoke set; run smoke on automanual flow * close security issue in CI installer links * update precommit * switch headed test for smoke * default engine dropdown not visible on first page of prefs * minor fixes * update key * update key * update key
1 parent d7806c7 commit ddb41a3

File tree

8 files changed

+177
-329
lines changed

8 files changed

+177
-329
lines changed

.github/workflows/l10n.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,10 @@ jobs:
207207
shell: pwsh
208208
- name: Download Executable
209209
if: ${{ inputs.win_installer_link }}
210+
env:
211+
WIN_INSTALLER_LINK: ${{ inputs.win_installer_link }}
210212
run: |
211-
Invoke-WebRequest -Uri ${{ inputs.win_installer_link }} -OutFile "${{ github.workspace }}\setup.exe"
213+
Invoke-WebRequest -Uri $WIN_INSTALLER_LINK -OutFile "${{ github.workspace }}\setup.exe"
212214
New-Item -ItemType Directory -Path "C:\Program Files\Custom Firefox" -Force
213215
shell: pwsh
214216
- name: Install Beta

.github/workflows/main.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,11 @@ jobs:
9999
shell: pwsh
100100
- name: Download Executable
101101
if: ${{ inputs.win_installer_link }}
102+
env:
103+
WIN_INSTALLER_LINK: ${{ inputs.win_installer_link }}
102104
run: |
103-
echo "STARFOX_SPLIT=ci-extended" | Out-File -FilePath .env -Encoding utf8 -Append -Force
104-
Invoke-WebRequest -Uri ${{ inputs.win_installer_link }} -OutFile "${{ github.workspace }}\setup.exe"
105+
echo "STARFOX_SPLIT=smoke" | Out-File -FilePath .env -Encoding utf8 -Append -Force
106+
Invoke-WebRequest -Uri $WIN_INSTALLER_LINK -OutFile "${{ github.workspace }}\setup.exe"
105107
New-Item -ItemType Directory -Path "C:\Program Files\Custom Firefox" -Force
106108
shell: pwsh
107109
- name: Install Beta
@@ -179,7 +181,7 @@ jobs:
179181
if: ${{ inputs.mac_installer_link }}
180182
run: |
181183
echo "MANUAL='true'" >> "$GITHUB_ENV";
182-
echo "STARFOX_SPLIT=ci-extended" >> .env
184+
echo "STARFOX_SPLIT=smoke" >> .env
183185
echo "Running smoke tests on supplied executable";
184186
- name: Install dependencies
185187
run: |
@@ -243,7 +245,7 @@ jobs:
243245
MANUAL_DOWNLOAD_LINK: ${{ inputs.linux_tarball_link }}
244246
run: |
245247
echo "MANUAL='true'" >> "$GITHUB_ENV";
246-
echo "STARFOX_SPLIT=ci-extended" >> "$GITHUB_ENV"
248+
echo "STARFOX_SPLIT=smoke" >> "$GITHUB_ENV"
247249
echo "Running smoke tests on supplied executable";
248250
sudo apt install gnome-screenshot
249251
uname -m;

choose_ci_set.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,7 @@ def dedupe(run_list: list) -> list:
214214
fh.write("\n".join(ci_paths))
215215
sys.exit(0)
216216

217-
if len(run_list) < MIN_RUN_SIZE:
218-
run_list.extend(ci_paths)
217+
run_list.extend(ci_paths)
219218

220219
# Dedupe just in case
221220
if SLASH == "\\":

0 commit comments

Comments
 (0)