🐍 Geometric Computer Vision Library for Spatial AI
Python artificial-intelligencecomputer-visiondeep-learninghacktoberfestimage-processingmachine-learningneural-networkpythonpytorchroboticsspatial-ai
Join gh-actions for docs (#2003)
João Gustavo A. Amorimb36357695778
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex c7eb85186..8652b146e 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -1,4 +1,4 @@-name: test-docs+name: Documentationon:workflow_dispatch:@@ -6,14 +6,36 @@ on:branches:- masterpull_request:- branches:- - master+ schedule:+ - cron: "0 4 * * *"jobs:- build-docs:+ test:+ runs-on: ubuntu-latest+ strategy:+ fail-fast: false+ steps:+ - uses: actions/checkout@v3+ - name: Setup conda dependencies+ uses: conda-incubator/setup-miniconda@v2+ with:+ auto-update-conda: true+ python-version: 3.7+ - name: Install dependencies+ shell: bash -l {0}+ run: |+ conda install curl -c conda-forge+ conda install pytorch cpuonly -c pytorch+ pip install .[dev,x]+ - name: Run doctest+ shell: bash -l {0}+ run: make doctest++ build:+ needs: testruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v2+ - uses: actions/checkout@v3- name: Setup conda dependenciesuses: conda-incubator/setup-miniconda@v2with:@@ -28,7 +50,7 @@ jobs:run: make build-docs- name: Deploy to GitHub Pagesif: ${{ github.event_name != 'pull_request' }}- uses: JamesIves/[email protected]+ uses: JamesIves/github-pages-deploy-action@v4with:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}BRANCH: gh_pages # The branch the action should deploy to.diff --git a/.github/workflows/format.yml b/.github/workflows/format.ymldeleted file mode 100644index 5bf39a359..000000000--- a/.github/workflows/format.yml+++ /dev/null@@ -1,34 +0,0 @@-name: code-format--on:- push:- branches:- - master- pull_request:- schedule:- - cron: "0 4 * * *"--jobs:- doctest:- runs-on: [ubuntu-latest]- strategy:- fail-fast: false- matrix:- os: [ubuntu-latest]- python-version: [3.7]- 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- pip install .[dev,x]- - name: Run doctest- shell: bash -l {0}- run: make doctest