Skip to content

Commit

Permalink
Adding tests
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Apr 18, 2024
1 parent f0dfbad commit 083bbcd
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,26 @@ jobs:
key: Examples-v${{ env.RESET_EXAMPLES_CACHE }}-${{ steps.version.outputs.PYMAPDL_VERSION }}-${{ github.sha }}
restore-keys: |
Examples-v${{ env.RESET_EXAMPLES_CACHE }}-${{ steps.version.outputs.PYMAPDL_VERSION }}

- name: "test"
run:
docker ls

- name: "test"
shell: python
run:
from ansys.mapdl.core import LOG

LOG.setLevel("DEBUG")
LOG.log_to_file("mylog.log")

from ansys.mapdl.core import launch_mapdl

mapdl = launch_mapdl(loglevel="DEBUG")

print(mapdl.prep7())
mapdl.exit()

- name: "Cache docs build directory"
uses: actions/cache@v4
Expand Down

0 comments on commit 083bbcd

Please sign in to comment.