Skip to content

Commit

Permalink
Feature/gitflow (#3900)
Browse files Browse the repository at this point in the history
  • Loading branch information
luqmanbello authored Jan 9, 2023
1 parent 54188fd commit 2a0c0c0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ env:
OPENBB_USE_ION: false
OPENBB_USE_PROMPT_TOOLKIT: false
PIP_DEFAULT_TIMEOUT: 100

on: [workflow_dispatch]

jobs:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
- develop
- main
types: [opened, synchronize]
push:
branches:
- develop
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -97,7 +101,7 @@ jobs:
name: Vanilla Python Tests - ${{ matrix.python-version }}
needs: [python-changes, base-test]
runs-on: ${{ matrix.os }}
if: needs.python-changes.outputs.python-changes == 'true' && github.event.pull_request.base.ref == 'develop'
if: needs.python-changes.outputs.python-changes == 'true' && github.event.pull_request.base.ref == 'develop' && github.event.pull_request.merged != true
strategy:
fail-fast: true
matrix:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ def no_dfs(args: list, kwargs: dict) -> bool:
for item in kwargs.values():
if isinstance(item, pd.DataFrame):
return False
return True
return True

0 comments on commit 2a0c0c0

Please sign in to comment.