Skip to content

Commit

Permalink
macOS tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan8be committed Oct 30, 2024
1 parent fcad688 commit 9044911
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ jobs:
- name: Install dependencies on macOS
if: startsWith(matrix.os, 'macos')
run: |
python3 -m venv ${PYTHON_VENV_ROOT}
source ${PYTHON_VENV_ROOT}/bin/activate
conda activate test
python --version
python3 -m pip install pip --upgrade
python3 -m pip install pytest pytest-cov
Expand All @@ -44,10 +43,8 @@ jobs:
- name: Run tests on ${{ matrix.os }}
if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos')
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
python3 -m venv ${PYTHON_VENV_ROOT}
source ${PYTHON_VENV_ROOT}/bin/activate
fi
conda activate test
python --version
echo -e "Running tests"
pytest tests/*.py
Expand Down

0 comments on commit 9044911

Please sign in to comment.