From 0d87e670f7a1f79d5ba08d7ca86c7483d1a0b5d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana?= Date: Tue, 1 Nov 2022 16:53:22 +0100 Subject: [PATCH] Disable sonar quality gate in CI Update base score for Arff STree --- .github/workflows/build.yml | 11 ++++++----- .github/workflows/main.yml | 4 ++-- benchmark/Results.py | 2 +- Untitled.ipynb => weka_test.ipynb | 0 4 files changed, 9 insertions(+), 8 deletions(-) rename Untitled.ipynb => weka_test.ipynb (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d449399..f7aca13 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 - run: echo "project_version=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV @@ -22,7 +22,8 @@ jobs: -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 - timeout-minutes: 5 - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + #- uses: sonarsource/sonarqube-quality-gate-action@master + # timeout-minutes: 5 + # env: + # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + # SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2e44aa8..f4e9584 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,10 +13,10 @@ jobs: strategy: matrix: os: [macos-latest, ubuntu-latest] - python: ["3.10"] + python: ["3.10", "3.11"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v2 with: diff --git a/benchmark/Results.py b/benchmark/Results.py index bb34163..7827e9c 100644 --- a/benchmark/Results.py +++ b/benchmark/Results.py @@ -33,7 +33,7 @@ class BestResultsEver: ] self.data["Arff"]["accuracy"] = [ "STree_default (linear-ovo)", - 21.9765, + 22.063496, ] def get_name_value(self, key, score): diff --git a/Untitled.ipynb b/weka_test.ipynb similarity index 100% rename from Untitled.ipynb rename to weka_test.ipynb