From fef8f6bf497b7a5f63875960fb20d7228ef9b676 Mon Sep 17 00:00:00 2001 From: Leonardo Cavallucci Date: Thu, 26 Oct 2023 09:02:46 +0200 Subject: [PATCH] Try to fix ci --- .github/workflows/test.yml | 4 ++-- tox.ini | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 408dfdf..3cb2ef6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: continue-on-error: ${{ matrix.continue-on-error }} strategy: matrix: - python-version: [3.12, 3.11, 3.10.x, 3.9] + python-version: ["3.12", "3.11", "3.10", "3.9"] django: [50, 42, 32] cms: [nocms, cms311, async] continue-on-error: [false] @@ -44,7 +44,7 @@ jobs: python -m pip install --upgrade pip setuptools tox>4 - name: Test with tox env: - TOX_ENV: ${{ format('py-django{1}-{2}', matrix.python-version, matrix.django, matrix.cms) }} + TOX_ENV: ${{ format('py{0}-django{1}-{2}', matrix.python-version, matrix.django, matrix.cms) }} COMMAND: coverage run COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_SERVICE_NAME: github diff --git a/tox.ini b/tox.ini index ce33715..038bf42 100644 --- a/tox.ini +++ b/tox.ini @@ -8,10 +8,10 @@ envlist = ruff pypi-description towncrier - py{312}-django{42,50}-{nocms,async} - py{311}-django{42,41,40,32}-{cms311,nocms,async} - py{310}-django{42,41,40,32}-{cms311,nocms,async} - py{39}-django{32}-{cms311,nocms,async} + py{3.12}-django{42,50}-{nocms,async} + py{3.11}-django{42,41,40,32}-{cms311,nocms,async} + py{3.10}-django{42,41,40,32}-{cms311,nocms,async} + py{3.9}-django{32}-{cms311,nocms,async} minversion = 3.23 [testenv] @@ -24,7 +24,7 @@ deps= django50: django~=5.0b1 cms311: https://github.com/yakky/django-cms/archive/release/3.11.x.zip cms311: djangocms-text-ckeditor>=5.0,<6.0 - py312: setuptools + py3.12: setuptools -r{toxinidir}/requirements-test.txt async: channels[daphne]~=4.0.0 passenv =