From 108741bc69d57caa5095a5991ff77438d5d5f8c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 30 Mar 2023 11:53:55 +0200 Subject: [PATCH] ci: Test against current social-core This allows to earlier catch issues like https://github.com/python-social-auth/social-core/issues/773 --- .github/workflows/test.yml | 5 +++++ tox.ini | 2 ++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 373d9849..0fb34d57 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,6 +62,11 @@ jobs: tox -e "py${PYTHON_VERSION/\./}-djangomain" if: ${{ env.PYTHON_VERSION == '3.10' || env.PYTHON_VERSION == '3.11' }} + - name: social-core master Test + run: | + tox -e "py${PYTHON_VERSION/\./}-socialmaster" + if: ${{ env.PYTHON_VERSION == '3.10' || env.PYTHON_VERSION == '3.11' }} + - name: Coverage run: | coverage combine diff --git a/tox.ini b/tox.ini index 16b6663e..b8c88264 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ envlist = py{38,39,310,311}-django41 py{38,39,310,311}-django42 py{310,311}-djangomain + py{310,311}-socialmaster [testenv] passenv = * @@ -16,4 +17,5 @@ deps = django41: Django>=4.1,<4.2 django42: Django>=4.2a1,<4.3 djangomain: https://github.com/django/django/archive/main.tar.gz + socialmaster: https://github.com/python-social-auth/social-core/archive/master.tar.gz Django>=4.1,<4.2 -r{toxinidir}/requirements-dev.txt