File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change 56
56
uses : actions/setup-python@v4
57
57
with :
58
58
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
59
64
# ----------------------------------------------
60
65
# ----- install & configure poetry -----
61
66
# ----------------------------------------------
85
90
- name : Install library
86
91
run : poetry install --no-interaction
87
92
# ----------------------------------------------
88
- # Run tests conditionally based on OS
93
+ # run test suite
89
94
# ----------------------------------------------
90
- - name : Run tests on Ubuntu with Docker
91
- if : matrix.os == 'ubuntu-latest'
95
+ - name : Run tests
92
96
run : |
93
97
source $VENV
94
98
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/
You can’t perform that action at this time.
0 commit comments