Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3302bb7c72 | |||
| 749606831b | |||
| 962ef3f12a |
@@ -392,10 +392,12 @@ jobs:
|
||||
run: ./scripts/installer/update-user-path.tests.ps1
|
||||
- name: Install NSIS for Windows installer regression
|
||||
if: needs.changes.outputs.heavy == 'true' && matrix.os == 'windows-latest'
|
||||
continue-on-error: true
|
||||
shell: pwsh
|
||||
run: choco install nsis -y --no-progress
|
||||
- name: Test Windows installer PATH regression
|
||||
if: needs.changes.outputs.heavy == 'true' && matrix.os == 'windows-latest'
|
||||
continue-on-error: true
|
||||
shell: pwsh
|
||||
run: ./scripts/installer/installer-path-regression.tests.ps1 -AllowUserPathMutation
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
@@ -427,7 +429,19 @@ jobs:
|
||||
save-if: ${{ github.ref == 'refs/heads/main' }}
|
||||
- name: Run tests
|
||||
if: needs.changes.outputs.heavy == 'true' && (matrix.os != 'ubuntu-latest' || github.event_name == 'workflow_dispatch')
|
||||
run: cargo test --workspace --all-features --locked
|
||||
shell: bash
|
||||
run: |
|
||||
export RUST_BACKTRACE=1
|
||||
echo "=== env probe ==="
|
||||
echo "OS=$OSTYPE PWD=$(pwd) TMP=${TMP:-unset} TEMP=${TEMP:-unset} USERPROFILE=${USERPROFILE:-unset}"
|
||||
which cat bash sh 2>&1 || true
|
||||
echo "=== underwater ==="
|
||||
cargo test -p codewhale-tui --bin codewhale-tui --all-features -- --test-threads=1 --nocapture tui::underwater::tests 2>&1 || true
|
||||
echo "=== file_mention ==="
|
||||
cargo test -p codewhale-tui --bin codewhale-tui --all-features -- --test-threads=1 --nocapture tui::file_mention::tests 2>&1 || true
|
||||
echo "=== shell + fleet_detail ==="
|
||||
cargo test -p codewhale-tui --bin codewhale-tui --all-features -- --test-threads=1 --nocapture tools::shell::tests::every_advertised_stdin_spelling_reaches_the_command tui::views::fleet_detail::tests::save_writes_the_file_and_receipt_names_the_path 2>&1 || true
|
||||
exit 1
|
||||
# The Ubuntu lint lane validates non-RSS backlog fields. Run the same
|
||||
# source-bound measurement on macOS so loss or growth of RSS evidence
|
||||
# fails closed instead of becoming an unsupported-field skip.
|
||||
|
||||
Reference in New Issue
Block a user