Skip to content

Commit

Permalink
improve ci style checks
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoNegri committed Jan 6, 2025
1 parent b6a6534 commit 11ca874
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 30 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,9 @@ permissions:

jobs:

doc-style:
name: Documentation Style Check
runs-on: ubuntu-latest
steps:
- name: PyAnsys documentation style checks
uses: ansys/actions/doc-style@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
style:
uses: ./.github/workflows/style.yml
secrets: inherit

tests:
strategy:
Expand Down
24 changes: 2 additions & 22 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,8 @@ concurrency:
jobs:

style:
name: Code style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools tox
- name: Test with tox
run: tox -e style

doc-style:
name: Documentation Style Check
runs-on: ubuntu-latest
steps:
- name: PyAnsys documentation style checks
uses: ansys/actions/doc-style@v8
with:
token: ${{ secrets.GITHUB_TOKEN }}
uses: ./.github/workflows/style.yml
secrets: inherit

tests:
strategy:
Expand Down

0 comments on commit 11ca874

Please sign in to comment.