ci: fix test and workflows
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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,3 +1,4 @@
|
||||
import React from 'react';
|
||||
import { test } from "vitest";
|
||||
import App from "../App";
|
||||
import { render } from "@testing-library/react";
|
||||
|
||||
@@ -25,5 +25,8 @@
|
||||
},
|
||||
"include": [
|
||||
"src"
|
||||
],
|
||||
"exclude": [
|
||||
"src/__test__/"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user