diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 39f78972..5525de57 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -18,17 +18,6 @@ concurrency: cancel-in-progress: true jobs: - style: - name: Code style - runs-on: ubuntu-latest - steps: - - name: PyAnsys code style checks - uses: ansys/actions/code-style@v5 - with: - python-version: ${{ env.MAIN_PYTHON_VERSION }} - vale-config: "doc/.vale.ini" - vale-version: "2.29.6" - docs-style: name: Documentation Style Check runs-on: ubuntu-latest @@ -41,7 +30,6 @@ jobs: smoke-tests: name: Build and Smoke tests runs-on: ${{ matrix.os }} - needs: style strategy: fail-fast: false matrix: @@ -92,12 +80,12 @@ jobs: .\.venv\Scripts\Activate.ps1 pytest tests -# - uses: codecov/codecov-action@v3 -# name: 'Upload coverage to CodeCov' -# env: -# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} -# with: -# files: .cov/xml + - uses: codecov/codecov-action@v3 + name: 'Upload coverage to CodeCov' + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + with: + files: .cov/xml docs_build: name: Build Documentation @@ -162,7 +150,7 @@ jobs: release: name: Release project if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') - needs: [package] + needs: [package, smoke-tests] runs-on: ubuntu-latest steps: - name: Release to the public PyPI repository diff --git a/doc/source/index.rst b/doc/source/index.rst index b209b089..5d82cda0 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -31,14 +31,14 @@ PyRocky .. grid-item-card:: Examples :material-regular:`code` :padding: 2 2 2 2 - :link: examples/index.html + :link: examples/index :link-type: doc Explore end-to-end examples that show how to use PyRocky. .. grid-item-card:: Contribute :fa:`people-group` :padding: 2 2 2 2 - :link: contributing.html + :link: contributing :link-type: doc Learn how to contribute to the PyRocky codebase or documentation.