Self hosted FLOSS fitness/workout, nutrition and weight tracker
Only run the tests with coverage for one version of python
Roland Geidered1947ada544
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 4bf21818b..4c3d6f76e 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -38,6 +38,9 @@ jobs:with:python-version: ${{ matrix.python-version }}+ - name: Display Python version+ run: python -c "import sys; print(sys.version)"+- name: Install dependenciesrun: |python -m pip install --upgrade pip@@ -45,12 +48,20 @@ jobs:pip install -r requirements_prod.txtpython setup.py develop- - name: Test the application (Postgres)+ # Only run the tests with coverage for one version of python+ - name: Test the application with coverage (Postgres)run: |wger create-settings --database-type postgresqlcoverage run --source='.' ./manage.py testcoverage html --directory coverage-postgrescoverage report+ if: matrix.python-version == 3.8++ - name: Test the application (Postgres)+ run: |+ wger create-settings --database-type postgresql+ ./manage.py test+ if: matrix.python-version != 3.8# - name: Test the application (Sqlite)# run: |