diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 264a0c6b..bc16eef5 100755 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -163,6 +163,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/upload-artifact/merge@v4 + continue-on-error: true with: name: nf-test-reports pattern: reports-* @@ -170,6 +171,7 @@ jobs: retention-days: 10 compression-level: 9 + confirm-pass: name: status runs-on: ubuntu-latest diff --git a/subworkflows/nf-scil/load_test_data/main.nf b/subworkflows/nf-scil/load_test_data/main.nf index ee260bab..4a17daac 100644 --- a/subworkflows/nf-scil/load_test_data/main.nf +++ b/subworkflows/nf-scil/load_test_data/main.nf @@ -12,6 +12,10 @@ def fetch_archive ( name, destination, remote, database, data_identifiers ) { // Fetch file from remote if not present in cache def data_id = data_identifiers[name] + if ( !data_id ) { + error "Invalid test data identifier supplied: $name" + } + def cache_entry = file("$cache_location/$data_id") if ( !cache_entry.exists() ) { def remote_entry = "${data_id[0..1]}/${data_id[2..-1]}"