π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
lts is not supported on mac-os, separate it (#1904)
Dmytro Mishkin1e69eb41ef58
diff --git a/.github/workflows/tests_cpu.yml b/.github/workflows/tests_cpu.ymlindex f4398574c..4710a8354 100644--- a/.github/workflows/tests_cpu.yml+++ b/.github/workflows/tests_cpu.yml@@ -21,7 +21,7 @@ jobs:matrix:os: [ubuntu-latest, macos-latest, windows-latest]python-version: [3.7, 3.8, 3.9]- pytorch-version: [1.8.2, 1.10.2, 1.12.1]+ pytorch-version: [1.10.2, 1.12.1]steps:- uses: actions/checkout@v2- name: Setup conda dependenciesdiff --git a/.github/workflows/tests_lts.yml b/.github/workflows/tests_lts.ymlnew file mode 100644index 000000000..f340c59b1--- /dev/null+++ b/.github/workflows/tests_lts.yml@@ -0,0 +1,46 @@+name: tests-cpu++on:+ push:+ branches: [master]+ pull_request:+ branches: [master]+ types: [open, reopened, synchronize, review_requested, ready_for_review]+ schedule:+ - cron: "0 4 * * *"++concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: true++jobs:+ tests-cpu:+ runs-on: ${{ matrix.os }}+ strategy:+ fail-fast: false+ matrix:+ os: [ubuntu-latest, windows-latest]+ python-version: [3.7, 3.8]+ steps:+ - uses: actions/checkout@v2+ - name: Setup conda dependencies+ uses: conda-incubator/setup-miniconda@v2+ with:+ auto-update-conda: true+ python-version: ${{ matrix.python-version }}+ - name: Install dependencies+ shell: bash -l {0}+ run: |+ conda install curl -c conda-forge+ conda install pytorch-lts cpuonly -c pytorch+ pip install .[all]+ - name: Run Tests+ shell: bash -l {0}+ run: pytest -v --device cpu --dtype float32,float64 --cov=kornia --cov-report xml ./test --mypy+ - name: Upload coverage+ uses: codecov/codecov-action@v1+ with:+ token: ${{ secrets.CODECOV_TOKEN }}+ file: coverage.xml+ flags: cpu,pytest,torch-lts-1.8.2+ name: cpu-coverage