Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 15 additions & 14 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ jobs:
name: Cache identify
outputs:
cache-key: ${{ steps.set-key.outputs.cache-key }}
python-version: ${{ steps.python.outputs.python-version }} # Ensure all runners use THIS minor version
steps:
- name: Check out committed code
uses: actions/checkout@v5
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
- name: Set up Python and determine minor version for ${{ env.DEFAULT_PYTHON }}
id: python
uses: actions/setup-python@v5
with:
Expand All @@ -43,11 +44,11 @@ jobs:
steps:
- name: Check out committed code
uses: actions/checkout@v5
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
- name: Set up Python ${{ needs.cache.outputs.python-version }}
id: python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON }}
python-version: ${{ needs.cache.outputs.python-version }}
- name: Create or reuse cache
id: cache-reuse
uses: ./.github/actions/restore-venv
Expand All @@ -69,11 +70,11 @@ jobs:
uses: actions/checkout@v5
with:
persist-credentials: false
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
- name: Set up Python ${{ needs.cache.outputs.python-version }}
id: python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON }}
python-version: ${{ needs.cache.outputs.python-version }}
- name: Create or reuse cache
id: cache-reuse
uses: ./.github/actions/restore-venv
Expand Down Expand Up @@ -110,11 +111,11 @@ jobs:
steps:
- name: Check out committed code
uses: actions/checkout@v5
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
- name: Set up Python ${{ needs.cache.outputs.python-version }}
id: python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON }}
python-version: ${{ needs.cache.outputs.python-version }}
- name: Create or reuse cache
id: cache-reuse
uses: ./.github/actions/restore-venv
Expand Down Expand Up @@ -161,7 +162,7 @@ jobs:
with:
cache-key: ${{ needs.cache.outputs.cache-key }}-pytest-matrix-${{ matrix.python-version }}
fail-on-miss: false # First time create cache (if not already exists)
python-version: ${{ matrix.python-version }}
python-version: ${{ steps.python.outputs.python-version }} # Force to installed python minor
venv-dir: ${{ env.VENV }}
precommit-home: ${{ env.PRE_COMMIT_HOME }}
- name: Run all tests
Expand Down Expand Up @@ -189,11 +190,11 @@ jobs:
uses: actions/checkout@v5
with:
persist-credentials: false
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
- name: Set up Python ${{ needs.cache.outputs.python-version }}
id: python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON }}
python-version: ${{ needs.cache.outputs.python-version }}
- name: Create or reuse cache
id: cache-reuse
uses: ./.github/actions/restore-venv
Expand Down Expand Up @@ -239,11 +240,11 @@ jobs:
steps:
- name: Check out committed code
uses: actions/checkout@v5
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
- name: Set up Python ${{ needs.cache.outputs.python-version }}
id: python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON }}
python-version: ${{ needs.cache.outputs.python-version }}
- name: Create or reuse cache
id: cache-reuse
uses: ./.github/actions/restore-venv
Expand Down Expand Up @@ -332,11 +333,11 @@ jobs:
steps:
- name: Check out committed code
uses: actions/checkout@v5
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
- name: Set up Python ${{ needs.cache.outputs.python-version }}
id: python
uses: actions/setup-python@v5
with:
python-version: ${{ env.DEFAULT_PYTHON }}
python-version: ${{ needs.cache.outputs.python-version }}
- name: Create or reuse cache
id: cache-reuse
uses: ./.github/actions/restore-venv
Expand Down