The save_designs_as() replaced with new methods with mandatory file_path. #120
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
test-suite: | |
strategy: | |
fail-fast: false | |
matrix: | |
osl_version: [23.2.0, 24.1.0, 24.2.0] | |
name: "optiSLang ${{ matrix.osl_version }}" | |
if: github.event.name != 'pull_request' || github.event.pull_request.merged == true | |
runs-on: public-ubuntu-latest-16-cores | |
container: | |
image: ${{ format('ghcr.io/ansys/optislang:{0}-jammy', matrix.osl_version) }} | |
credentials: | |
username: ansys-bot | |
password: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: "Pytest" | |
env: | |
PYOPTISLANG_DISABLE_OPTISLANG_OUTPUT: true | |
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }} | |
uses: ansys/actions/tests-pytest@v7 | |
with: | |
python-version: "3.10" | |
pytest-extra-args: "--local_osl -k 'not examples.py'" | |
use-python-cache: false |