π Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
Adding typing test
Dmytro Mishkineded38e5162e
diff --git a/.github/workflows/test_typing.yml b/.github/workflows/test_typing.ymlnew file mode 100644index 000000000..28bcb1d7c--- /dev/null+++ b/.github/workflows/test_typing.yml@@ -0,0 +1,46 @@+name: test-typing++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]+ python-version: [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 cpuonly -c pytorch-lts+ pip install .[all]+ - name: Run Tests+ shell: bash -l {0}+ run: pytest -v --cov=kornia --cov-report xml --mypy kornia/ -m mypy+ - name: Upload coverage+ uses: codecov/codecov-action@v1+ with:+ token: ${{ secrets.CODECOV_TOKEN }}+ file: coverage.xml+ flags: cpu,pytest,typing+ name: cpu-coverage