From 12024df4d8ab983a0e6603e7e2cf894ed5f588d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Wed, 18 May 2022 22:10:32 +0200 Subject: [PATCH] syntax Issue in gh actions build --- .github/workflows/build.yml | 14 +++++--------- requirements.txt | 1 + 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 086adf5..d449399 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,19 +11,15 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 - - name: Get project version - id: step_one - run: | - version=$(git describe --tags --abbrev=0) - echo "project_version=$version" >> $GITHUB_ENV + - run: echo "project_version=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV - uses: sonarsource/sonarqube-scan-action@master env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} - with: - args: > - -Dsonar.projectVersion=${{ env.project_version }} - -Dsonar.python.version=3.10 + with: + args: > + -Dsonar.projectVersion=${{ env.project_version }} + -Dsonar.python.version=3.10 # If you wish to fail your job when the Quality Gate is red, uncomment the # following lines. This would typically be used to fail a deployment. - uses: sonarsource/sonarqube-quality-gate-action@master diff --git a/requirements.txt b/requirements.txt index 31edac9..154ab58 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,3 +8,4 @@ tqdm xgboost graphviz Wodt @ git+ssh://git@github.com/doctorado-ml/Wodt.git#egg=Wodt +unittest-xml-reporting