Skip to content

Commit

Permalink
MISC: cleanup workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Dec 19, 2023
1 parent 44db65b commit b243e7d
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,32 @@ jobs:
legacy-examples:
name: "Check legacy examples"
runs-on: [ windows, pyedb, self-hosted ]
env:
PYEDB_CI_NO_DISPLAY: '1'
steps:
- name: "Install Git and clone project"
uses: actions/checkout@v4

- name: "Setup Python"
uses: actions/setup-python@v5
- name: "Set up Python"
uses: ansys/actions/_setup-python@main
with:
cache: 'pip'
python-version: '3.10'
python-version: ${{ env.MAIN_PYTHON_VERSION_WINDOWS_SELFHOSTED }}
use-cache: false

- name: Create Python venv
run: |
python -m venv .venv
. .venv\Scripts\Activate.ps1
- name: "Update pip"
run: |
. .venv\Scripts\Activate.ps1
python -m pip install -U pip
- name: Install pyedb
run: |
pip install .
. .venv\Scripts\Activate.ps1
pip install .[full]
- name: "Clone pyaedt on specific branch"
uses: actions/checkout@v4
Expand Down

0 comments on commit b243e7d

Please sign in to comment.