From 37aabe14a87f266177f5f84618134874e3edf0ca Mon Sep 17 00:00:00 2001 From: James Maslek Date: Fri, 28 Jul 2023 10:42:46 -0400 Subject: [PATCH] Fix syntax --- .github/workflows/sdkv4-core.yml | 35 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/.github/workflows/sdkv4-core.yml b/.github/workflows/sdkv4-core.yml index 1a30af2de5f..1c18f5f89ca 100644 --- a/.github/workflows/sdkv4-core.yml +++ b/.github/workflows/sdkv4-core.yml @@ -1,25 +1,24 @@ -name: My Workflow +name: Test SDKV4 on: pull_request: branches: - feature/openbb-sdk-v4 - jobs: - unit_tests: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - with: - ref: ${{ github.event.pull_request.head.ref }} - - name: Install dependencies - run: | - python -m venv .venv - source .venv/bin/activate - pip install ./openbb_sdk - pip install pytest - - name: Run tests - run: | - pytest openbb_sdk/sdk/core/tests + unit_tests: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.ref }} + - name: Install dependencies + run: | + python -m venv .venv + source .venv/bin/activate + pip install ./openbb_sdk + pip install pytest + - name: Run tests + run: | + pytest openbb_sdk/sdk/core/tests