Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 coverage
pip install flake8 coverage unittest-xml-reporting
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install -e .
- name: Lint with flake8
Expand All @@ -42,7 +42,7 @@ jobs:
echo "PYTHONPATH=home/runner/work/entityshape" >> $GITHUB_ENV
- name: Test with unittest
run: |
coverage run -m unittest
coverage run -m xmlrunner
coverage xml
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v6.0.0
Expand All @@ -54,3 +54,8 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: Teester/entityshape
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}