mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 13:01:38 +00:00
First action
This commit is contained in:
25
.github/workflows/sdkv4-core.yml
vendored
Normal file
25
.github/workflows/sdkv4-core.yml
vendored
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user