Skip to content

Commit

Permalink
Merge branch 'main' of github.com:balbasty/torch-interpol
Browse files Browse the repository at this point in the history
  • Loading branch information
balbasty committed Aug 26, 2023
2 parents ef51a50 + eed9be0 commit 9ad7880
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/actions/test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ runs:
env:
PYTORCH_VERSION: ${{ inputs.pytorch-version }}
run: |
mamba install pytorch=${PYTORCH_VERSION} cppyy numpy pytest
mamba install pytorch=${PYTORCH_VERSION} pytest
- name: Test with pytest
shell: bash -el {0}
run: |
pip install "torch==${PYTORCH_VERSION}" pytest
[ "${PYTORCH_VERSION}" == "1.4" ] && pip install numpy
pip install .
pytest pytest --pyargs interpol
2 changes: 2 additions & 0 deletions .github/workflows/test-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ jobs:
pytorch-version: "1.8"
- python-version: "3.9"
pytorch-version: "1.11"
- python-version: "3.11"
pytorch-version: "2.0"
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/test
Expand Down

0 comments on commit 9ad7880

Please sign in to comment.