Skip to content

Commit

Permalink
fix: Multiple fixes (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroFernandezLuces authored Feb 19, 2024
1 parent 39766e9 commit 09edfb3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 21 deletions.
26 changes: 7 additions & 19 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -41,7 +30,6 @@ jobs:
smoke-tests:
name: Build and Smoke tests
runs-on: ${{ matrix.os }}
needs: style
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 09edfb3

Please sign in to comment.