generated from ansys/template
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use dpf installation action rather than starting the dpf server (#616)
Co-authored-by: Mohamed Koubaa <[email protected]>
- Loading branch information
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,10 +106,16 @@ jobs: | |
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: "Install and run DPF server" | ||
- name: Set Licensing | ||
shell: bash | ||
run: | | ||
docker pull ghcr.io/ansys/dpf-core:22.2dev | ||
docker run -d --name dpfserver -p 50054:50052 ghcr.io/ansys/dpf-core:22.2dev && echo "DPF Server active on port 50054." | ||
echo "ANSYS_DPF_ACCEPT_LA=Y" >> $GITHUB_ENV | ||
- name: Install DPF | ||
uses: ansys/pydpf-actions/[email protected] | ||
with: | ||
dpf-standalone-TOKEN: ${{secrets.PYANSYS_CI_BOT_TOKEN}} | ||
ANSYS_VERSION : "242" | ||
|
||
- name: LS-DYNA Keyword server activation | ||
run: | | ||
|
@@ -166,12 +172,6 @@ jobs: | |
name: server_output_docs.txt | ||
path: server_output.txt | ||
|
||
- name: DPF Logs (on screen) | ||
if: always() | ||
run: | | ||
docker logs dpfserver | ||
docker stop dpfserver | ||
smoke-tests: | ||
name: "Build wheelhouse for ${{ matrix.os }} and Python ${{ matrix.python-version }}" | ||
runs-on: ${{ matrix.os }} | ||
|
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