]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Update test dependencies (tox v4) (#953)
authorJonah Lawrence <jonah@freshidea.com>
Fri, 20 Jan 2023 16:41:39 +0000 (09:41 -0700)
committerGitHub <noreply@github.com>
Fri, 20 Jan 2023 16:41:39 +0000 (18:41 +0200)
.github/workflows/test.yml
tox.ini

index 1e89861792a26c10764610898877e2473b012933..c584fd983b0bdaaf5c5a8cae3be08572681e0b11 100644 (file)
@@ -40,11 +40,11 @@ jobs:
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip setuptools wheel
-        python -m pip install 'tox<4.0.0' 'tox-gh-actions==2.12.0'
+        python -m pip install 'tox~=4.0' 'tox-gh~=1.0'
     - name: Run test via Tox
       run: tox --skip-missing-interpreters
       env:
         COVERAGE_XML_PATH: ${{ runner.temp }}
-    - uses: codecov/codecov-action@v2
+    - uses: codecov/codecov-action@v3
       with:
         directory: ${{ runner.temp }}
diff --git a/tox.ini b/tox.ini
index 8b640015d8f6f1b81efdbfd58a85f0dedd4aebad..551d201158e2296308b15b27fafe25b7e000b4bd 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -10,7 +10,7 @@ deps =
     freezegun==0.3.12
     backports.zoneinfo;python_version<"3.9"
     tzdata;sys_platform == 'win32'
-whitelist_externals = make
+allowlist_externals = make
 commands = make clean-cldr test
 setenv =
     PYTEST_FLAGS=--cov=babel --cov-report=xml:{env:COVERAGE_XML_PATH:.coverage_cache}/coverage.{envname}.xml
@@ -19,11 +19,11 @@ passenv =
     PYTEST_*
     PYTHON_*
 
-[gh-actions]
+[gh]
 python =
-    pypy3: pypy3
-    3.7: py37
-    3.8: py38
-    3.9: py39
-    3.10: py310
-    3.11: py311
+    pypy3 = pypy3
+    3.7 = py37
+    3.8 = py38
+    3.9 = py39
+    3.10 = py310
+    3.11 = py311