Skip to content

Commit

Permalink
updated build and sonarcloud yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
hechth committed Jun 19, 2024
1 parent 81e871e commit 66dcc9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Upgrade pip and install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry install --no-root
poetry install
- name: Run unit tests
run: poetry run pytest
- name: Verify that we can build the package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
python -m pip install --upgrade pip poetry
poetry install
- name: Run unit tests with coverage
run: python -m pytest --cov --cov-report term --cov-report xml --junitxml=xunit-result.xml tests/
run: poetry run pytest --cov --cov-report term --cov-report xml --junitxml=xunit-result.xml tests/
- name: Correct coverage paths
run: sed -i "s+$PWD/++g" coverage.xml
- name: SonarCloud Scan
Expand Down

0 comments on commit 66dcc9e

Please sign in to comment.