Skip to content

Commit 5b69a4b

Browse files
start docker before
1 parent 1daedc9 commit 5b69a4b

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ jobs:
5656
uses: actions/setup-python@v4
5757
with:
5858
python-version: ${{ matrix.python-version }}
59+
60+
- name: Start Docker service (Windows only)
61+
if: runner.os == 'windows-latest'
62+
run: |
63+
Start-Service docker
5964
#----------------------------------------------
6065
# ----- install & configure poetry -----
6166
#----------------------------------------------
@@ -85,16 +90,9 @@ jobs:
8590
- name: Install library
8691
run: poetry install --no-interaction
8792
#----------------------------------------------
88-
# Run tests conditionally based on OS
93+
# run test suite
8994
#----------------------------------------------
90-
- name: Run tests on Ubuntu with Docker
91-
if: matrix.os == 'ubuntu-latest'
95+
- name: Run tests
9296
run: |
9397
source $VENV
9498
pytest tests/
95-
96-
# No Docker on Windows
97-
- name: Run tests without Docker on Windows
98-
if: matrix.os == 'windows-latest'
99-
run: |
100-
pytest tests/

0 commit comments

Comments
 (0)