File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -113,11 +113,12 @@ jobs:
113113 [flake8] %(code)s: %(text)s'"
114114
115115 test :
116- runs-on : ubuntu-latest
116+ runs-on : ${{ matrix.os }}
117117 strategy :
118118 fail-fast : false
119119 matrix :
120120 python_version : ['3.8', '3.9']
121+ os : [ubuntu-latest, windows-latest, macos-latest]
121122 env :
122123 PYTHON_VERSION : ${{ matrix.python_version }}
123124 steps :
@@ -154,19 +155,19 @@ jobs:
154155 - name : Install dependencies using poetry
155156 if : steps.python_cache.outputs.cache-hit != 'true'
156157 run : |
157- pip install poetry
158- poetry install --no-interaction --no-ansi
158+ python -m pip install poetry
159+ python -m poetry install --no-interaction --no-ansi
159160
160161 # Run tests with pytest-cov to generate a coverage report
161162 # This is saved to ./.coverage to be used by codecov to link a
162163 # coverage report to github.
163164 - name : Run tests and generate coverage report
164- run : pytest -n auto --dist loadfile --cov --disable-warnings -q
165+ run : python -m pytest -n auto --dist loadfile --cov --disable-warnings -q
165166
166167 # This step will publish the coverage reports to codecov.io and
167168 # print a "job" link in the output of the GitHub Action
168169 - name : Publish coverage report to codecov.io
169- run : codecov
170+ run : python -m codecov
170171
171172 artifact :
172173 name : Generate Artifact
You can’t perform that action at this time.
0 commit comments