From c960d822336630dda26d896df5ada3cadb9abee2 Mon Sep 17 00:00:00 2001 From: Ed Date: Wed, 17 Apr 2024 16:24:07 +0100 Subject: [PATCH] Debug Jenkins failure --- Jenkinsfile | 2 ++ tests/test_midi_tx.py | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 3479f03c..d8a35ff7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,6 +39,8 @@ pipeline { } } } + // Temp debug + archiveArtifacts artifacts: "${REPO}/**/*.pdf", fingerprint: true, allowEmptyArchive: true } } stage('Unity tests') { diff --git a/tests/test_midi_tx.py b/tests/test_midi_tx.py index 605bfba1..ff2f71ac 100644 --- a/tests/test_midi_tx.py +++ b/tests/test_midi_tx.py @@ -18,6 +18,10 @@ MAX_CYCLES = 15000000 @pytest.mark.parametrize("config", MIDI_TEST_CONFIGS) def test_tx(capfd, config, build_midi): + with open("dir.txt", "wt") as db: + import subprocess, shutil + output = subprocess.run("tree", capture_output=True, text=True) + # Need tempdir as we use the same config files and this causes issues when using xdist with tempdir() as tmpdirname: copy_tree(build_midi, tmpdirname)