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 1313 PACKAGE_NAME : ' ansys-edb-core'
1414 DOCUMENTATION_CNAME : ' edb.core.docs.pyansys.com'
1515 MAIN_PYTHON_VERSION : ' 3.10'
16+ ANSYSLMD_LICENSE_FILE : ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
1617
1718concurrency :
1819 group : ${{ github.workflow }}-${{ github.ref }}
8081 # Only the tox environment specified in the tox.ini gh-actions is run
8182 run : tox -e test -- --ignore=tests/e2e
8283
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+
83106 doc-build :
84107 name : " Doc build"
85108 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -30,9 +30,10 @@ install_command =
3030description = Checks for project unit tests
3131setenv =
3232 PYTEST_EXTRA_ARGS = --junitxml =junit/test-results.xml
33+ ANSYSEM_EDB_EXE_DIR = {env:ANSYSEM_ROOT251}
3334commands =
3435 python -m pip install .[tests]
35- pytest {posargs} {env:PYTEST_EXTRA_ARGS:}
36+ pytest {posargs} {env:PYTEST_EXTRA_ARGS:ANSYSEM_EDB_EXE_DIR }
3637
3738[testenv:coverage]
3839description = Checks for project unit tests and coverage
You can’t perform that action at this time.
0 commit comments