Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Upload coverage results to coveralls

Roland Geiderccf815047e4a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index dfd129078..b6d025c5f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -57,7 +57,7 @@ jobs:
python -m pip install --upgrade pip
pip install wheel coverage
pip install -r requirements_prod.txt
- python setup.py develop
+ pip3 install -e .
# Only run the tests with coverage for one version of python
- name: Test the application with coverage (Postgres)
@@ -81,6 +81,12 @@ jobs:
# coverage html --directory coverage-sqlite
# coverage report
+ - name: Coveralls
+ uses: coverallsapp/github-action@master
+ with:
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ if: matrix.python-version == 3.8
+
- name: Save coverage result artifacts
uses: actions/upload-artifact@v3
with: