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:
101101 python-version : ${{ matrix.python }}
102102 architecture : ${{ matrix.python_arch }}
103103
104- - name : test [unix-like shells ]
105- if : runner.os != 'Windows '
104+ - name : test [linux ]
105+ if : runner.os == 'Linux '
106106 run : |
107107 ${{ steps.setup.outputs.python-path }} -m venv .venv
108108 source .venv/bin/activate
109109 python -m pip install --upgrade pip
110110 pip install -r ci/requirements.txt
111111 tox -e ${{ matrix.tox_env }} -v
112112
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+
113127 - name : test [windows]
114128 if : runner.os == 'Windows'
115129 shell : pwsh
You can’t perform that action at this time.
0 commit comments