Disable sonar quality gate in CI

Update base score for Arff STree
This commit is contained in:
2022-11-01 16:53:22 +01:00
parent 1e83db7956
commit 0d87e670f7
4 changed files with 9 additions and 8 deletions

View File

@@ -8,7 +8,7 @@ jobs:
name: Build name: Build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- run: echo "project_version=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV - run: echo "project_version=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
@@ -22,7 +22,8 @@ jobs:
-Dsonar.python.version=3.10 -Dsonar.python.version=3.10
# If you wish to fail your job when the Quality Gate is red, uncomment the # 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. # following lines. This would typically be used to fail a deployment.
- uses: sonarsource/sonarqube-quality-gate-action@master #- uses: sonarsource/sonarqube-quality-gate-action@master
timeout-minutes: 5 # timeout-minutes: 5
env: # env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}

View File

@@ -13,10 +13,10 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [macos-latest, ubuntu-latest] os: [macos-latest, ubuntu-latest]
python: ["3.10"] python: ["3.10", "3.11"]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }} - name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:

View File

@@ -33,7 +33,7 @@ class BestResultsEver:
] ]
self.data["Arff"]["accuracy"] = [ self.data["Arff"]["accuracy"] = [
"STree_default (linear-ovo)", "STree_default (linear-ovo)",
21.9765, 22.063496,
] ]
def get_name_value(self, key, score): def get_name_value(self, key, score):