Skip to content

Commit

Permalink
add checker
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnv1 committed Jan 26, 2024
1 parent c964b1a commit 6141057
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ runs:
shell: bash
run: pip install .[dev,x]

- name: Check dependencies and kornia version
- name: Check torch version
shell: bash
run: pip show torch | grep ${{ inputs.pytorch-version }} || false

- name: Print dependencies and kornia version
shell: bash
run: |
python -c "import torch;print('Pytorch version: ', torch.__version__)"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/self-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
path: subdir
- uses: ./subdir/.github/actions/env/
with:
pytorch-version: '1.9.1'
ref: main

coverage:
Expand Down

0 comments on commit 6141057

Please sign in to comment.