From 12aee25d9a8bb88e2e7dd0612cc5b00d30cabed7 Mon Sep 17 00:00:00 2001 From: James Maslek Date: Fri, 28 Jul 2023 10:32:16 -0400 Subject: [PATCH] First action --- .github/workflows/sdkv4-core.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/sdkv4-core.yml diff --git a/.github/workflows/sdkv4-core.yml b/.github/workflows/sdkv4-core.yml new file mode 100644 index 00000000000..1a30af2de5f --- /dev/null +++ b/.github/workflows/sdkv4-core.yml @@ -0,0 +1,25 @@ +name: My Workflow + +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