🐍 Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
Fix GHA macos `queued` and coverage upload (#2038)
João Gustavo A. Amorim6f828030aa39
diff --git a/.github/actions/env/action.yml b/.github/actions/env/action.ymlindex dcd0e2ca8..4e8a3ea35 100644--- a/.github/actions/env/action.yml+++ b/.github/actions/env/action.yml@@ -24,22 +24,23 @@ runs:auto-update-conda: truepython-version: ${{ inputs.python-version }}- - if: ${{ contains(fromJson('["lts", "nightly"]'), inputs.pytorch-version ) }}- name: Install dependencies+ - name: Install curl via condashell: bash -l {0}- run: |- conda install curl -c conda-forge- conda install pytorch cpuonly -c pytorch-${{ inputs.pytorch-version }}- pip install .[dev,x]+ run: conda install curl -c conda-forge+ - if: ${{ contains(fromJson('["lts", "nightly"]'), inputs.pytorch-version ) }}+ name: Install pytorch+ shell: bash -l {0}+ run: conda install pytorch cpuonly -c pytorch-${{ inputs.pytorch-version }}- if: ${{ contains(fromJson('["lts", "nightly"]'), inputs.pytorch-version ) == false}}- name: Install dependencies+ name: Install pytorchshell: bash -l {0}- run: |- conda install curl -c conda-forge- conda install pytorch=${{ inputs.pytorch-version }} cpuonly -c pytorch- pip install .[dev,x]+ run: conda install pytorch=${{ inputs.pytorch-version }} cpuonly -c pytorch++ - name: Install Kornia dev+ shell: bash -l {0}+ run: pip install .[dev,x]- name: Environmentshell: bash -l {0}diff --git a/.github/workflows/pr_test_cpu.yml b/.github/workflows/pr_test_cpu.ymlindex 73d40798a..98469164f 100644--- a/.github/workflows/pr_test_cpu.yml+++ b/.github/workflows/pr_test_cpu.yml@@ -12,12 +12,12 @@ concurrency:jobs:tests-cpu:name: ${{ matrix.os }} - python-${{ matrix.python-version }}, torch-${{ matrix.pytorch-version }}, ${{ matrix.pytorch-dtype }}- runs-on: ${{ matrix.os }}+ runs-on: ${{ matrix.os }}-lateststrategy:fail-fast: truematrix:- os: [ubuntu-latest, windows-latest, macos]+ os: ['Ubuntu', 'Windows', 'MacOS']python-version: ['3.7', '3.8']pytorch-version: ['1.9.1', '1.13.0']pytorch-dtype: ['float16', 'float32', 'float64']@@ -42,5 +42,6 @@ jobs:uses: codecov/codecov-action@v3with:file: coverage.xml- flags: cpu,${{ matrix.os }}_python-${{ matrix.python-version }}_torch-${{ matrix.pytorch-version }}_${{ matrix.pytorch-dtype }}+ token: ${{ secrets.CODECOV_TOKEN }} # to not depend on build via GH API+ flags: cpu,${{ matrix.os }}_py-${{ matrix.python-version }}_pt-${{ matrix.pytorch-version }}_${{ matrix.pytorch-dtype }}name: cpu-coveragediff --git a/.github/workflows/pr_test_typing.yml b/.github/workflows/pr_test_typing.ymlindex 01d83382b..4ef4e3c43 100644--- a/.github/workflows/pr_test_typing.yml+++ b/.github/workflows/pr_test_typing.yml@@ -12,12 +12,12 @@ concurrency:jobs:tests:name: ${{ matrix.os }} - python-${{ matrix.python-version }}, torch-${{ matrix.pytorch-version }}- runs-on: ${{ matrix.os }}+ runs-on: ${{ matrix.os }}-lateststrategy:fail-fast: falsematrix:- os: [ubuntu-latest]+ os: ['Ubuntu']python-version: ['3.7']pytorch-version: ['1.9.1', '1.13.0']@@ -40,5 +40,6 @@ jobs:uses: codecov/codecov-action@v3with:file: cobertura.xml- flags: typing,${{ matrix.os }}_python-${{ matrix.python-version }}_torch-${{ matrix.pytorch-version }}+ token: ${{ secrets.CODECOV_TOKEN }} # to not depend on build via GH API+ flags: typing,${{ matrix.os }}_py-${{ matrix.python-version }}_pt-${{ matrix.pytorch-version }}_${{ matrix.pytorch-dtype }}name: cpu-coverage-typesdiff --git a/.github/workflows/scheduled_test_cpu.yml b/.github/workflows/scheduled_test_cpu.ymlindex b8bf2bbc7..5c6378a84 100644--- a/.github/workflows/scheduled_test_cpu.yml+++ b/.github/workflows/scheduled_test_cpu.yml@@ -13,12 +13,12 @@ concurrency:jobs:tests-cpu:name: ${{ matrix.os }} - python-${{ matrix.python-version }}, torch-${{ matrix.pytorch-version }}, ${{ matrix.pytorch-dtype }}- runs-on: ${{ matrix.os }}+ runs-on: ${{ matrix.os }}-lateststrategy:fail-fast: falsematrix:- os: [ubuntu-latest, windows-latest, macos]+ os: ['Ubuntu', 'Windows', 'MacOS']python-version: ['3.7', '3.8']pytorch-version: ['1.9.1', '1.10.2', '1.12.1', '1.13.0', 'nightly']pytorch-dtype: ['float16', 'float32', 'float64']@@ -43,5 +43,6 @@ jobs:uses: codecov/codecov-action@v3with:file: coverage.xml- flags: cpu,${{ matrix.os }}_python-${{ matrix.python-version }}_torch-${{ matrix.pytorch-version }}_${{ matrix.pytorch-dtype }}+ token: ${{ secrets.CODECOV_TOKEN }} # to not depend on build via GH API+ flags: cpu,${{ matrix.os }}_py-${{ matrix.python-version }}_pt-${{ matrix.pytorch-version }}_${{ matrix.pytorch-dtype }}name: cpu-coveragediff --git a/.github/workflows/scheduled_test_typing.yml b/.github/workflows/scheduled_test_typing.ymlindex deef10539..e925ef22d 100644--- a/.github/workflows/scheduled_test_typing.yml+++ b/.github/workflows/scheduled_test_typing.yml@@ -13,12 +13,12 @@ concurrency:jobs:tests:name: ${{ matrix.os }} - python-${{ matrix.python-version }}, torch-${{ matrix.pytorch-version }}- runs-on: ${{ matrix.os }}+ runs-on: ${{ matrix.os }}-lateststrategy:fail-fast: falsematrix:- os: [ubuntu-latest]+ os: ['Ubuntu']python-version: ['3.7']pytorch-version: ['1.9.1', '1.10.2', '1.12.1', '1.13.0', 'nightly']@@ -41,5 +41,6 @@ jobs:uses: codecov/codecov-action@v3with:file: cobertura.xml- flags: typing,${{ matrix.os }}_python-${{ matrix.python-version }}_torch-${{ matrix.pytorch-version }}+ token: ${{ secrets.CODECOV_TOKEN }} # to not depend on build via GH API+ flags: typing,${{ matrix.os }}_py-${{ matrix.python-version }}_pt-${{ matrix.pytorch-version }}_${{ matrix.pytorch-dtype }}name: cpu-coverage-types