mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-07 15:53:10 +00:00
Ensure local smoke logs dir exists and keep logs on failure
This commit is contained in:
parent
d62d551492
commit
77f236c85c
5
.github/workflows/lint.yml
vendored
5
.github/workflows/lint.yml
vendored
@ -149,6 +149,7 @@ jobs:
|
|||||||
echo "TMPDIR=${{ runner.temp }}" >> "$GITHUB_ENV"
|
echo "TMPDIR=${{ runner.temp }}" >> "$GITHUB_ENV"
|
||||||
echo "CARGO_TARGET_DIR=${{ runner.temp }}/target-local" >> "$GITHUB_ENV"
|
echo "CARGO_TARGET_DIR=${{ runner.temp }}/target-local" >> "$GITHUB_ENV"
|
||||||
echo "NOMOS_LOG_DIR=${{ runner.temp }}/local-logs" >> "$GITHUB_ENV"
|
echo "NOMOS_LOG_DIR=${{ runner.temp }}/local-logs" >> "$GITHUB_ENV"
|
||||||
|
mkdir -p "${{ runner.temp }}/local-logs"
|
||||||
- name: Install system dependencies (Linux)
|
- name: Install system dependencies (Linux)
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
@ -223,14 +224,14 @@ jobs:
|
|||||||
rsync -a --delete "$NOMOS_CIRCUITS"/ testing-framework/assets/stack/kzgrs_test_params/ || true
|
rsync -a --delete "$NOMOS_CIRCUITS"/ testing-framework/assets/stack/kzgrs_test_params/ || true
|
||||||
- name: Run local runner smoke (ignored test)
|
- name: Run local runner smoke (ignored test)
|
||||||
run: |
|
run: |
|
||||||
cargo +nightly-2025-09-14 test -p runner-examples --test local_runner_bin_smoke -- --ignored --nocapture
|
NOMOS_TESTS_KEEP_LOGS=true cargo +nightly-2025-09-14 test -p runner-examples --test local_runner_bin_smoke -- --ignored --nocapture
|
||||||
- name: Upload local smoke logs
|
- name: Upload local smoke logs
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: local-smoke-logs
|
name: local-smoke-logs
|
||||||
path: ${{ env.NOMOS_LOG_DIR }}
|
path: ${{ env.NOMOS_LOG_DIR }}
|
||||||
if-no-files-found: ignore
|
if-no-files-found: error
|
||||||
|
|
||||||
compose_smoke:
|
compose_smoke:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user