From ca4799c2808b08ac70855f7c59acb49c267edd84 Mon Sep 17 00:00:00 2001 From: Willem Van Onsem Date: Wed, 20 Aug 2025 22:52:33 +0200 Subject: [PATCH 1/2] add coverage reporting --- .github/workflows/django-single-session-ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/django-single-session-ci.yml b/.github/workflows/django-single-session-ci.yml index fe5dc78..a5e2bae 100644 --- a/.github/workflows/django-single-session-ci.yml +++ b/.github/workflows/django-single-session-ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Set up Python uses: actions/setup-python@v4 @@ -29,14 +29,16 @@ jobs: - run: "mv testproject_temp/* testproject/" - run: pip install -r requirements.txt working-directory: 'testproject' - - run: python manage.py test --settings=docs.source.settings + - run: 'coverage run --source="." python manage.py test --settings=docs.source.settings' working-directory: 'testproject' + - name: Coveralls + uses: coverallsapp/github-action@v2 no-makemigrations: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Set up Python uses: actions/setup-python@v4 @@ -60,7 +62,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] locale: [nl] steps: - name: Set up Python @@ -88,7 +90,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Set up Python uses: actions/setup-python@v4 @@ -115,7 +117,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: checkout code uses: actions/checkout@v2.3.1 From 4ec8fc0e520309cdc897ed96a4b82fab70e4ddc3 Mon Sep 17 00:00:00 2001 From: Willem Van Onsem Date: Wed, 20 Aug 2025 22:53:35 +0200 Subject: [PATCH 2/2] remove py 3.7 --- .github/workflows/django-single-session-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/django-single-session-ci.yml b/.github/workflows/django-single-session-ci.yml index a5e2bae..5657274 100644 --- a/.github/workflows/django-single-session-ci.yml +++ b/.github/workflows/django-single-session-ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Set up Python uses: actions/setup-python@v4 @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Set up Python uses: actions/setup-python@v4 @@ -62,7 +62,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] locale: [nl] steps: - name: Set up Python @@ -90,7 +90,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Set up Python uses: actions/setup-python@v4 @@ -117,7 +117,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: checkout code uses: actions/checkout@v2.3.1