Skip to content

Commit

Permalink
0.7.10
Browse files Browse the repository at this point in the history
  • Loading branch information
notsag committed Jun 4, 2021
1 parent b300769 commit 5505385
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Expand Up @@ -14,6 +14,9 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
Expand All @@ -30,10 +33,12 @@ jobs:
run: |
python -m pytest --cov=yaml_resume --cov-report xml:test-results/coverage.xml --junitxml=test-results/junit.xml
- name: Fix code coverage paths
if: matrix.python-version == 3.9
run: |
sed -i 's#/home/runner/work/yaml_resume/yaml_resume/#/github/workspace/#g' test-results/coverage.xml
sed -i 's#/home/runner/work/yaml-resume/yaml_resume/#/github/workspace/#g' coverage.xml
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
if: matrix.python-version == 3.9
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2 changes: 1 addition & 1 deletion sonar-project.properties
Expand Up @@ -3,5 +3,5 @@ sonar.organization=notsag
sonar.projectName=yaml-resume
sonar.projectVersion=dev
sonar.python.coverage.reportPaths=test-results/coverage.xml
sonar.python.xunit.reportPath=test-results/junit.xml
sonar.python.xunit.reportPaths=test-results/junit.xml
sonar.lanuage=py
2 changes: 1 addition & 1 deletion yaml_resume/__init__.py
Expand Up @@ -2,4 +2,4 @@
from .validator import Validator

__all__ = ["Resume", "Validator"]
__version__ = "0.7.9"
__version__ = "0.7.10"

0 comments on commit 5505385

Please sign in to comment.