File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 13
13
PACKAGE_NAME : ' ansys-edb-core'
14
14
DOCUMENTATION_CNAME : ' edb.core.docs.pyansys.com'
15
15
MAIN_PYTHON_VERSION : ' 3.10'
16
+ ANSYSLMD_LICENSE_FILE : ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
16
17
17
18
concurrency :
18
19
group : ${{ github.workflow }}-${{ github.ref }}
80
81
# Only the tox environment specified in the tox.ini gh-actions is run
81
82
run : tox -e test -- --ignore=tests/e2e
82
83
84
+ tests-e2e :
85
+ name : End to end tests and coverage
86
+ runs-on : [ self-hosted, Windows, pyedb-core ]
87
+ steps :
88
+ - uses : actions/checkout@v4
89
+ - name : Set up Python ${{ matrix.python-version }}
90
+ uses : actions/setup-python@v4
91
+ with :
92
+ python-version : ${{ env.MAIN_PYTHON_VERSION }}
93
+
94
+ - name : Install dependencies
95
+ run : |
96
+ python -m pip install --upgrade .[tests]
97
+ python -m pip install --upgrade tox-gh-actions
98
+
99
+ - name : Test with tox
100
+ # Only the tox environment specified in the tox.ini gh-actions is run
101
+ run : |
102
+ ~/start.bat
103
+ tox -e test -- tests/e2e
104
+ ~/stop.bat
105
+
83
106
doc-build :
84
107
name : " Doc build"
85
108
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -30,9 +30,10 @@ install_command =
30
30
description = Checks for project unit tests
31
31
setenv =
32
32
PYTEST_EXTRA_ARGS = --junitxml =junit/test-results.xml
33
+ ANSYSEM_EDB_EXE_DIR = {env:ANSYSEM_ROOT251}
33
34
commands =
34
35
python -m pip install .[tests]
35
- pytest {posargs} {env:PYTEST_EXTRA_ARGS:}
36
+ pytest {posargs} {env:PYTEST_EXTRA_ARGS:ANSYSEM_EDB_EXE_DIR }
36
37
37
38
[testenv:coverage]
38
39
description = Checks for project unit tests and coverage
You can’t perform that action at this time.
0 commit comments