ci: fix test and workflows

This commit is contained in:
Ricardo Campos
2024-09-20 11:42:15 -03:00
parent 204c5142b8
commit 421123c57d
5 changed files with 7 additions and 15 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
-Dsonar.sources=src/
-Dsonar.exclusions=src/__test__/**
-Dsonar.tests=src/__test__/
-Dsonar.verbose=true
-Dsonar.verbose=false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
+2 -2
View File
@@ -47,13 +47,13 @@ jobs:
-Dsonar.sources=src/
-Dsonar.exclusions=src/__test__/**
-Dsonar.tests=src/__test__/
-Dsonar.verbose=true
-Dsonar.verbose=false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
client-docker-build:
name: Build Docker image
name: Build Client Docker image
runs-on: ubuntu-latest
needs:
- client-sonarcloud
-12
View File
@@ -1,12 +0,0 @@
sonar.projectKey=ricardo-campos-org_react-typescript-todolist
sonar.organization=ricardo-campos-org
# This is the name and version displayed in the SonarCloud UI.
#sonar.projectName=react-typescript-todolist
#sonar.projectVersion=1.0
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
#sonar.sources=.
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8
+1
View File
@@ -1,3 +1,4 @@
import React from 'react';
import { test } from "vitest";
import App from "../App";
import { render } from "@testing-library/react";
+3
View File
@@ -25,5 +25,8 @@
},
"include": [
"src"
],
"exclude": [
"src/__test__/"
]
}