From 834ccb0edaa22f3ddc8e66057271b6f1dc8041f9 Mon Sep 17 00:00:00 2001 From: Sebastien Morais Date: Wed, 29 Nov 2023 09:45:55 +0100 Subject: [PATCH] WIP: install ansys-api-edb using secrets --- .github/workflows/ci_cd.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 4029722915..f0b8108375 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -51,10 +51,23 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} + + - name: Clone ansys-api-edb + uses: actions/checkout@v2 + with: + repository: ansys-internal/ansys-api-edb + token: ${{ secrets.EDB_SHARED_SECRET }} + path: external/ansys-api-edb + + - name: Install ansys-api-edb + run: | + python -m pip install external/ansys-api-edb + - name: Install dependencies run: | python -m pip install --upgrade .[test] python -m pip install --upgrade tox-gh-actions + - name: Test with tox # Only the tox environment specified in the tox.ini gh-actions is run run: tox -e test -- --ignore=tests/e2e