From 1e4f71dacb620b629d9caa60e2fb05ee24985ceb Mon Sep 17 00:00:00 2001 From: hajdul88 <52442977+hajdul88@users.noreply.github.com> Date: Mon, 20 Jan 2025 09:32:09 +0100 Subject: [PATCH] feat: adds windows test for dynamic_steps_example --- .../test_dynamic_steps_example_windows.yml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/test_dynamic_steps_example_windows.yml diff --git a/.github/workflows/test_dynamic_steps_example_windows.yml b/.github/workflows/test_dynamic_steps_example_windows.yml new file mode 100644 index 000000000..a97db9a5c --- /dev/null +++ b/.github/workflows/test_dynamic_steps_example_windows.yml @@ -0,0 +1,44 @@ +name: test-example-windows + +on: + workflow_dispatch: + pull_request: + types: [labeled, synchronize] + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + run_notebook_test_windows: + name: test-windows + runs-on: windows-latest + defaults: + run: + shell: bash + steps: + - name: Check out + uses: actions/checkout@master + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: '3.11.x' + + - name: Install Poetry + run: | + python -m pip install --upgrade pip + pip install poetry + + - name: Install dependencies + run: | + poetry install --no-interaction --all-extras + + - name: Execute Python Example + env: + ENV: 'dev' + PYTHONFAULTHANDLER: 1 + LLM_API_KEY: ${{ secrets.OPENAI_API_KEY }} + GRAPHISTRY_USERNAME: ${{ secrets.GRAPHISTRY_USERNAME }} + GRAPHISTRY_PASSWORD: ${{ secrets.GRAPHISTRY_PASSWORD }} + run: poetry run python ./examples/python/dynamic_steps_example.py