From 0d95f300fd496f909dd21b2c177147b2f7b399e1 Mon Sep 17 00:00:00 2001 From: ckunki Date: Mon, 16 Oct 2023 12:04:31 +0200 Subject: [PATCH] Removed if-guard in copy statements --- .github/workflows/report.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/report.yml b/.github/workflows/report.yml index ccc1358..c8d3043 100644 --- a/.github/workflows/report.yml +++ b/.github/workflows/report.yml @@ -31,9 +31,8 @@ jobs: - name: Copy Artifacts into Root Folder working-directory: ./artifacts run: | - ls -Rla - if [ -f .coverage/.coverage ]; then cp .coverage/.coverage ../; fi - if [ -f .lint.txt/.lint.txt ]; then cp .lint.txt/.lint.txt ../ ; fi + cp .coverage/.coverage ../ + cp .lint.txt/.lint.txt ../ - name: Generate Report run: poetry run nox -s report -- -- --format json | tee metrics.json