Skip to content

Commit

Permalink
Update python-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nnn911 authored Apr 29, 2024
1 parent fad255d commit 4f337b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,23 @@ jobs:
activate-environment: true
- name: Install python dependencies conda
if: matrix.os == 'macos-latest'
shell: bash
run: |
mamba install -y -c conda-forge pytest
mamba install -y --strict-channel-priority -c https://conda.ovito.org -c conda-forge ovito>=3.9.1
mamba install -y pytorch pytorch -c pytorch -c conda-forge
- name: Install python dependencies conda
if: matrix.os != 'macos-latest'
shell: bash
run: |
mamba install -y -c conda-forge pytest
mamba install -y --strict-channel-priority -c https://conda.ovito.org -c conda-forge ovito
mamba install -y pytorch pytorch-cuda=12.1 -c pytorch -c nvidia -c conda-forge
- name: Install python dependencies pip
shell: bash
run: |
python -m pip install .
- name: Test with pytest
shell: bash
run: |
pytest

0 comments on commit 4f337b4

Please sign in to comment.