From 6a8922255321deba840d4407e4d18e597bab6ac0 Mon Sep 17 00:00:00 2001 From: Markus Keil Date: Wed, 17 Jan 2024 16:57:38 +0100 Subject: [PATCH] fix report --- .github/workflows/docker-publish.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index 13db3f2..73390a7 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -36,8 +36,7 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Analysing the code with pylint run: | - echo "# Test results" >> $GITHUB_STEP_SUMMARY - + echo "# Lint results" >> $GITHUB_STEP_SUMMARY echo "```" >> $GITHUB_STEP_SUMMARY pylint main.py >> $GITHUB_STEP_SUMMARY echo "```" >> $GITHUB_STEP_SUMMARY @@ -57,7 +56,10 @@ jobs: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest run: | - pytest + echo "# Lint results" >> $GITHUB_STEP_SUMMARY + echo "```" >> $GITHUB_STEP_SUMMARY + pytest >> $GITHUB_STEP_SUMMARY + echo "```" >> $GITHUB_STEP_SUMMARY build: needs: test runs-on: ubuntu-latest