Skip to content

Commit 9044911

Browse files
committed
macOS tests
1 parent fcad688 commit 9044911

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
- name: Install dependencies on macOS
2727
if: startsWith(matrix.os, 'macos')
2828
run: |
29-
python3 -m venv ${PYTHON_VENV_ROOT}
30-
source ${PYTHON_VENV_ROOT}/bin/activate
29+
conda activate test
3130
python --version
3231
python3 -m pip install pip --upgrade
3332
python3 -m pip install pytest pytest-cov
@@ -44,10 +43,8 @@ jobs:
4443
- name: Run tests on ${{ matrix.os }}
4544
if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')
4645
run: |
47-
if [ "$RUNNER_OS" == "macOS" ]; then
48-
python3 -m venv ${PYTHON_VENV_ROOT}
49-
source ${PYTHON_VENV_ROOT}/bin/activate
50-
fi
46+
conda activate test
47+
python --version
5148
echo -e "Running tests"
5249
pytest tests/*.py
5350

0 commit comments

Comments
 (0)