Skip to content

Commit 45662c4

Browse files
committed
Revert "Split test doesn't need to be executed per Python version (home-assistant#130147)"
This reverts commit a8db25f.
1 parent 9f7e604 commit 45662c4

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,10 @@ jobs:
819819
needs:
820820
- info
821821
- base
822+
strategy:
823+
fail-fast: false
824+
matrix:
825+
python-version: ${{ fromJson(needs.info.outputs.python_versions) }}
822826
name: Split tests for full run
823827
steps:
824828
- name: Install additional OS dependencies
@@ -832,11 +836,11 @@ jobs:
832836
libgammu-dev
833837
- name: Check out code from GitHub
834838
uses: actions/[email protected]
835-
- name: Set up Python ${{ env.DEFAULT_PYTHON }}
839+
- name: Set up Python ${{ matrix.python-version }}
836840
id: python
837841
uses: actions/[email protected]
838842
with:
839-
python-version: ${{ env.DEFAULT_PYTHON }}
843+
python-version: ${{ matrix.python-version }}
840844
check-latest: true
841845
- name: Restore base Python virtual environment
842846
id: cache-venv
@@ -854,7 +858,7 @@ jobs:
854858
- name: Upload pytest_buckets
855859
uses: actions/[email protected]
856860
with:
857-
name: pytest_buckets
861+
name: pytest_buckets-${{ matrix.python-version }}
858862
path: pytest_buckets.txt
859863
overwrite: true
860864

@@ -919,7 +923,7 @@ jobs:
919923
- name: Download pytest_buckets
920924
uses: actions/[email protected]
921925
with:
922-
name: pytest_buckets
926+
name: pytest_buckets-${{ matrix.python-version }}
923927
- name: Compile English translations
924928
run: |
925929
. venv/bin/activate

0 commit comments

Comments
 (0)