mirror of
https://github.com/stablyai/orca.git
synced 2026-10-07 00:02:29 +00:00
* fix(ci): run mobile typechecks without concurrent dependency refresh * test(ci): check effective Linux E2E package list * test(ci): preserve the mobile production compiler barrier --------- Co-authored-by: Orca Integration Recovery <orca-validation@invalid.example>
11 lines
385 B
JavaScript
11 lines
385 B
JavaScript
import { expect } from 'vitest'
|
|
|
|
export function linuxInstallPackageList(step, jobName) {
|
|
const packages = step.env?.ORCA_E2E_APT_PACKAGES
|
|
if (packages !== undefined) {
|
|
expect(step.run, jobName).toContain('read -r -a packages <<< "$ORCA_E2E_APT_PACKAGES"')
|
|
expect(step.run, jobName).toContain('sudo apt-get install -y "${packages[@]}"')
|
|
}
|
|
return packages ?? step.run
|
|
}
|