1212 - ' .all-contributorsrc'
1313 - ' CONTRIBUTORS.md'
1414 workflow_call :
15+
16+ env :
17+ PYTHON_VERSION : ' 3.10'
18+ POETRY_VERSION : ' 1.8.3'
19+
1520jobs :
1621 build-reference-documentation :
1722 runs-on : ubuntu-latest
18- strategy :
19- matrix :
20- python-version : ["3.10"]
21- poetry-version : ["1.8.2"]
2223 steps :
2324 - run : sudo apt-get install -y pandoc
2425 - uses : actions/checkout@v2
25- - name : Set up Python ${{ matrix.python-version }}
26+ - name : Set up Python
2627 uses : actions/setup-python@v2
2728 with :
28- python-version : ${{ matrix.python-version }}
29- - name : Install Poetry ${{ matrix.poetry-version }}
29+ python-version : ${{ env.PYTHON_VERSION }}
30+ - name : Install Poetry
3031 uses : abatilo/actions-poetry@v3.0.0
3132 with :
32- poetry-version : ${{ matrix.poetry-version }}
33+ poetry-version : $POETRY_VERSION
3334 - name : Install dependencies
3435 run : poetry install
3536 - name : " Run Reference Documentation Generation"
@@ -51,40 +52,32 @@ jobs:
5152 docs/_build/html
5253 code-format-check :
5354 runs-on : ubuntu-latest
54- strategy :
55- matrix :
56- python-version : ["3.10"]
57- poetry-version : ["1.8.2"]
5855 steps :
5956 - uses : actions/checkout@v2
60- - name : Set up Python ${{ matrix.python-version }}
57+ - name : Set up Python
6158 uses : actions/setup-python@v2
6259 with :
63- python-version : ${{ matrix.python-version }}
64- - name : Install Poetry ${{ matrix.poetry-version }}
60+ python-version : ${{ env.PYTHON_VERSION }}
61+ - name : Install Poetry
6562 uses : abatilo/actions-poetry@v3.0.0
6663 with :
67- poetry-version : ${{ matrix.poetry-version }}
64+ poetry-version : $POETRY_VERSION
6865 - name : Install dependencies
6966 run : poetry install
7067 - name : Run Format Check
7168 run : poetry run poe static_checks
7269 test-coverage :
7370 runs-on : ubuntu-latest
74- strategy :
75- matrix :
76- python-version : ["3.10"]
77- poetry-version : ["1.8.2"]
7871 steps :
7972 - uses : actions/checkout@v2
80- - name : Set up Python ${{ matrix.python-version }}
73+ - name : Set up Python
8174 uses : actions/setup-python@v2
8275 with :
83- python-version : ${{ matrix.python-version }}
84- - name : Install Poetry ${{ matrix.poetry-version }}
76+ python-version : ${{ env.PYTHON_VERSION }}
77+ - name : Install Poetry
8578 uses : abatilo/actions-poetry@v3.0.0
8679 with :
87- poetry-version : ${{ matrix.poetry-version }}
80+ poetry-version : $POETRY_VERSION
8881 - name : Install dependencies
8982 run : poetry install
9083 - name : Run Test Coverage
@@ -95,18 +88,17 @@ jobs:
9588 matrix :
9689 os : [ubuntu-latest, windows-latest, macos-latest]
9790 python_version : ["3.9", "3.10", "3.11", "3.12"]
98- poetry-version : ["1.8.2"]
9991 fail-fast : false
10092 steps :
10193 - uses : actions/checkout@v2
10294 - name : Set up Python ${{matrix.python_version}} ${{matrix.os}}
10395 uses : actions/setup-python@v2
10496 with :
10597 python-version : ${{matrix.python_version}}
106- - name : Install Poetry ${{ matrix.poetry-version }}
98+ - name : Install Poetry
10799 uses : abatilo/actions-poetry@v3.0.0
108100 with :
109- poetry-version : ${{ matrix.poetry-version }}
101+ poetry-version : $POETRY_VERSION
110102 - name : Install dependencies
111103 run : poetry install
112104 - name : Run Unit Tests and Doctests Python ${{matrix.python_version}} ${{matrix.os}}
0 commit comments