Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/requirements" # Location of package manifests
insecure-external-code-execution: allow
schedule:
interval: "daily"
labels:
- "Maintenance"
- "Dependencies"
ignore:
- dependency-name: "vtk"
- dependency-name: "grpcio"
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
if: ${{ runner.os == 'Linux' }}
with:
path: ~/.cache/pip
key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements_*.txt') }}
key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements/requirements_*.txt') }}
restore-keys: |
Python-${{ runner.os }}-${{ matrix.python-version }}

Expand All @@ -80,7 +80,7 @@ jobs:
if: ${{ runner.os == 'Windows' }}
with:
path: ~\AppData\Local\pip\Cache
key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements_*.txt') }}
key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements/requirements_*.txt') }}
restore-keys: |
Python-${{ runner.os }}-${{ matrix.python-version }}

Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements_docs*.txt') }}
key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements/requirements_doc.txt') }}
restore-keys: |
Python-${{ runner.os }}-${{ matrix.python-version }}

Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements_*.txt') }}
key: Python-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements/requirements_*.txt') }}
restore-keys: |
Python-${{ runner.os }}-${{ matrix.python-version }}

Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ style:
@pre-commit run --all-files --show-diff-on-failure

install:
@pip install -r requirements_build.txt
@pip install -r requirements/requirements_build.txt
@python setup.py sdist
@python setup.py bdist_wheel
@pip install dist/*.whl
Expand All @@ -25,7 +25,7 @@ test-import:

unittest:
@echo "Running unittest"
@pip install -r requirements_test.txt
@pip install -r requirements/requirements_tests.txt
@pytest -v --cov=ansys.fluent --cov-report html:cov_html --cov-config=.coveragerc

api-codegen:
Expand All @@ -38,7 +38,7 @@ api-codegen:

build-doc:
@sudo rm -rf /home/ansys/.local/share/ansys_fluent_core/examples/*
@pip install -r requirements_docs.txt
@pip install -r requirements/requirements_doc.txt
@xvfb-run make -C doc html
@touch doc/_build/html/.nojekyll
@echo "$(DOCS_CNAME)" >> doc/_build/html/CNAME
2 changes: 1 addition & 1 deletion doc/source/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ directory of the repository:

.. code::

pip install -r requirements_docs.txt
pip install -r requirements/requirements_doc.txt
cd doc
make html

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.