Skip to content

Commit

Permalink
Merge pull request #1 from fga-eps-mds/fix/sonar
Browse files Browse the repository at this point in the history
Fix/sonar
  • Loading branch information
AdneMoretti authored Jul 10, 2024
2 parents d544bb8 + 4301529 commit a52744d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
git config --global user.email "${{secrets.USER_EMAIL}}"
git config --global user.name "${{secrets.USER_NAME}}"
git clone --single-branch --branch main "https://x-access-token:${{secrets.API_TOKEN_DOC}}@github.com/fga-eps-mds/2023.2-MeasureSoftGram-DOC" doc
git clone --single-branch --branch main "https://x-access-token:${{secrets.API_TOKEN_DOC}}@github.com/fga-eps-mds/2024.1-MeasureSoftGram-DOC" doc
mkdir -p doc/analytics-raw-data
cp -R analytics-raw-data/*.json doc/analytics-raw-data
cd doc
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ jobs:

- name: Corrige reports path
run: |
sed -i 's/<source>\/home\/runner\/work\/2023-1-MeasureSoftGram-Core\/2023-1-MeasureSoftGram-Core<\/source>/<source>\/github\/workspace<\/source>/g' coverage.xml
sed -i 's/<source>\/home\/runner\/work\/2024.1-MeasureSoftGram-Core\/2024.1-MeasureSoftGram-Core<\/source>/<source>\/github\/workspace<\/source>/g' coverage.xml
- name: Scanner do SonarCloud
uses: SonarSource/sonarcloud-github-action@v1.8
uses: SonarSource/sonarcloud-github-action@v2.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Envia cobertura para o Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4.0.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: 2023-1-MeasureSoftGram-Core
name: 2024.1-MeasureSoftGram-Core
verbose: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 2023-2 MeasureSoftGram-Core
# 2024-2 MeasureSoftGram-Core

## Badges

Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sonar.projectKey=fga-eps-mds_2023-2-MeasureSoftGram-Core
sonar.projectKey=fga-eps-mds_2024.1-MeasureSoftGram-Core
sonar.organization=fga-eps-mds-1

sonar.python.version=3
Expand Down

0 comments on commit a52744d

Please sign in to comment.