]> git.phdru.name Git - m_librarian.git/blobdiff - .github/workflows/run-tests.yaml
CI(GHActions): Python 3.10
[m_librarian.git] / .github / workflows / run-tests.yaml
index 5d1dabdb4ca3330dde66a5eae9c3ba413a56fec7..4eeebaee9dfa9cbc6899eac1285e087eeb90f3d6 100644 (file)
@@ -6,9 +6,10 @@ jobs:
   run-tests:
 
     strategy:
+      fail-fast: false
       matrix:
         os: [ubuntu-latest, macos-latest, windows-latest]
-        python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
+        python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
         include:
         - os: ubuntu-latest
           os-name: Linux
@@ -24,6 +25,8 @@ jobs:
     runs-on: ${{ matrix.os }}
 
     steps:
+
+      # Setup Python/pip
       - uses: actions/checkout@v2
       - uses: actions/setup-python@v2
         with:
@@ -33,10 +36,12 @@ jobs:
         with:
           path: ${{ matrix.pip-cache-path }}
           key: ${{ runner.os }}-pip
+
+      # Setup tox
       - name: Install dependencies
         run: |
           python --version
-          python -m pip install --upgrade "pip<21.0" "setuptools<45" wheel
+          python -m pip install --upgrade pip setuptools wheel
           pip --version
           pip install --upgrade virtualenv tox
       - name: Set TOXENV
@@ -51,7 +56,8 @@ jobs:
           with open(os.environ['GITHUB_ENV'], 'a') as f:
             f.write('TOXENV=' + toxenv + '\n')
         shell: python
+
       - name: Run tox
         run: |
           python -c "import os; print(os.environ['TOXENV'])"
-          python -m tox
+          tox