diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 7566e013..2d07b6ec 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -5,22 +5,34 @@ jobs: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8, 3.9, '3.10'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] sphinx-version: - - 3.0.4 - - 3.1.2 - - 3.2.1 - - 3.3.1 - - 3.4.3 - - 3.5.4 - - 4.0.3 - - 4.1.2 - - 4.2.0 - - 4.3.0 + - '3.0.4' + - '3.1.2' + - '3.2.1' + - '3.3.1' + - '3.4.3' + - '3.5.4' + - '4.0.3' + - '4.1.2' + - '4.2.0' + - '4.3.0' - git+https://github.com/sphinx-doc/sphinx.git@4.3.x - git+https://github.com/sphinx-doc/sphinx.git@4.x - git+https://github.com/sphinx-doc/sphinx.git@master + # avoid bug in following configurations + # sphinx/util/typing.py:37: in + # from types import Union as types_Union + # ImportError: cannot import name 'Union' from 'types' + exclude: + - python-version: '3.10' + sphinx-version: '3.5.4' + - python-version: '3.10' + sphinx-version: '4.0.3' + - python-version: '3.10' + sphinx-version: '4.1.2' steps: - uses: actions/checkout@v2