From 0978d3e57e0cd50bc3df629e7ec4d5ab009d45d6 Mon Sep 17 00:00:00 2001 From: olofvndrhr Date: Fri, 22 Dec 2023 14:18:58 +0100 Subject: [PATCH] fix install hatch --- .gitea/workflows/sonarqube_python.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/sonarqube_python.yml b/.gitea/workflows/sonarqube_python.yml index a3a267c..ff12846 100644 --- a/.gitea/workflows/sonarqube_python.yml +++ b/.gitea/workflows/sonarqube_python.yml @@ -36,6 +36,10 @@ jobs: with: fetch-depth: 0 + - name: install hatch + if: ${{ inputs.run-coverage == true && inputs.use-hatch == true }} + run: pip install -U hatch + - name: get coverage (hatch) if: ${{ inputs.run-coverage == true && inputs.use-hatch == true }} run: hatch run default:cov