File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -101,15 +101,29 @@ jobs:
101
101
python-version : ${{ matrix.python }}
102
102
architecture : ${{ matrix.python_arch }}
103
103
104
- - name : test [unix-like shells ]
105
- if : runner.os != 'Windows '
104
+ - name : test [linux ]
105
+ if : runner.os == 'Linux '
106
106
run : |
107
107
${{ steps.setup.outputs.python-path }} -m venv .venv
108
108
source .venv/bin/activate
109
109
python -m pip install --upgrade pip
110
110
pip install -r ci/requirements.txt
111
111
tox -e ${{ matrix.tox_env }} -v
112
112
113
+ - name : test [macos]
114
+ if : runner.os == 'macOS'
115
+ run : |
116
+ ${{ steps.setup.outputs.python-path }} -m venv .venv
117
+ source .venv/bin/activate
118
+ python -m pip install --upgrade pip
119
+ pip install -r ci/requirements.txt
120
+ # Install the project in editable mode, which also installs its dependencies
121
+ pip install -e .
122
+ # Install test-specific dependencies
123
+ pip install pytest pytest-cov
124
+ # Run pytest directly, bypassing tox for the test execution step
125
+ pytest --cov --cov-report=term-missing --cov-report=xml -vv tests
126
+
113
127
- name : test [windows]
114
128
if : runner.os == 'Windows'
115
129
shell : pwsh
You can’t perform that action at this time.
0 commit comments