Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.4.0 #4237

Merged
merged 545 commits into from
Feb 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
545 commits
Select commit Hold shift + click to select a range
7175d0f
Feature/mstarpy (#4068)
Mael-J Feb 3, 2023
66450d1
logout success bugfix
montezdesousa Feb 3, 2023
4bd6a53
add integration test for account
montezdesousa Feb 3, 2023
0246828
Merge branch 'develop' into feature/login
hjoaquim Feb 3, 2023
9b7a281
Merge branch 'feature/login' of github.com:OpenBB-finance/OpenBBTermi…
hjoaquim Feb 3, 2023
c10635f
black
hjoaquim Feb 3, 2023
f466ed1
Update to make transform work (#4125)
JerBouma Feb 3, 2023
670084a
Change integration tests environment variables + add option (#4126)
montezdesousa Feb 3, 2023
57343f8
Merge branch 'develop' into hotfix/fix4054
jmaslek Feb 3, 2023
f701a23
Merge branch 'develop' into feature/login
montezdesousa Feb 3, 2023
7b18aee
move routine related commands to other PR
montezdesousa Feb 3, 2023
2b00f56
test for the user input
hjoaquim Feb 3, 2023
f90bf7e
completed tests for session controller
hjoaquim Feb 3, 2023
949ad43
fix: website/package.json & website/package-lock.json to reduce vulne…
snyk-bot Feb 3, 2023
9d08ff3
Merge branch 'OpenBB-finance:develop' into OpenBBTerminal-main
tehcoderer Feb 3, 2023
2796d36
Delete Andrew.yml
tehcoderer Feb 3, 2023
ee34a1f
Feature/add isort linter (#4114)
colin99d Feb 5, 2023
8abf98e
Merge branch 'develop' into hotfix/fix4054
montezdesousa Feb 5, 2023
469f11d
leave false
montezdesousa Feb 5, 2023
2ccc503
black
montezdesousa Feb 5, 2023
db693be
handle some error cases
montezdesousa Feb 5, 2023
3f9fe8b
lower before compare
montezdesousa Feb 5, 2023
c81e782
Merge branch 'hotfix/debug_true' into hotfix/fix4054
montezdesousa Feb 5, 2023
6df17ef
Merge branch 'OpenBB-finance:develop' into OpenBBTerminal-main
tehcoderer Feb 5, 2023
20579e3
Merge branch 'develop' into hotfix/bug-#3960
northern-64bit Feb 5, 2023
ce7579a
Merge branch 'develop' into feature/login
montezdesousa Feb 5, 2023
144af33
convert to hist to str)
montezdesousa Feb 5, 2023
33f00ca
fix import errors
montezdesousa Feb 5, 2023
c7342cd
ruff
montezdesousa Feb 5, 2023
2d4e7c1
ruff tests
montezdesousa Feb 5, 2023
0170656
fix qa
montezdesousa Feb 6, 2023
a14cd9c
add help to settings cmds
montezdesousa Feb 6, 2023
b1c79b4
ruff
montezdesousa Feb 6, 2023
665250d
fix pull keys bug
montezdesousa Feb 6, 2023
928e652
point to dev
montezdesousa Feb 6, 2023
142cbb9
Merge branch 'feature/login' of github.com:OpenBB-finance/OpenBBTermi…
hjoaquim Feb 6, 2023
d56e8da
account model tests
hjoaquim Feb 6, 2023
4cc2280
black
hjoaquim Feb 6, 2023
53bab39
Add sheetnames and improve mret
JerBouma Feb 6, 2023
dcde2af
ruff
hjoaquim Feb 6, 2023
126ff86
fix for empty feature settings
hjoaquim Feb 6, 2023
7dea88b
add test case
montezdesousa Feb 6, 2023
bb983c1
fix ticker info keys
montezdesousa Feb 6, 2023
89c225b
ruff
hjoaquim Feb 6, 2023
0b9182e
decouple yfinance
montezdesousa Feb 6, 2023
867277f
lower before compare (#4133)
montezdesousa Feb 6, 2023
6cfad49
Merge branch 'develop' into hotfix/fix4054
montezdesousa Feb 6, 2023
bd0338f
lower before compare (#4133)
montezdesousa Feb 6, 2023
c7993c4
don't display config msg if wrong token
montezdesousa Feb 6, 2023
f8f13e2
Fix portfolio (#4147)
JerBouma Feb 6, 2023
ac1a3bd
fix: upgrade tailwindcss-radix from 2.6.1 to 2.6.2
snyk-bot Feb 6, 2023
b607084
Portfolio to Po now works well and removed cash
JerBouma Feb 6, 2023
03366a3
Merge branch 'develop' into hotfix/fix4054
jmaslek Feb 6, 2023
108d7cd
Merge pull request #4148 from OpenBB-finance/snyk-upgrade-6f0af886e79…
jmaslek Feb 6, 2023
2d88765
Add more info about parameter template
JerBouma Feb 6, 2023
804fc23
Merge branch 'develop' into feature/remove-cash
JerBouma Feb 6, 2023
30651d2
Merge branch 'develop' into hotfix/fix4054
jmaslek Feb 6, 2023
da69e6d
Merge pull request #4079 from OpenBB-finance/hotfix/fix4054
jmaslek Feb 6, 2023
8e37488
Merge branch 'develop' into hotfix/bug-#3960
jmaslek Feb 6, 2023
2c17c4d
Merge pull request #3964 from northern-64bit/hotfix/bug-#3960
jmaslek Feb 6, 2023
ed5c7b3
Merge branch 'develop' into hotfix/fix4144
jmaslek Feb 6, 2023
55f209f
Fix issue 3960
northern-64bit Jan 14, 2023
947af33
Linting
northern-64bit Jan 14, 2023
932cab2
fix yf.info bugs and allow more bench options
montezdesousa Jan 30, 2023
937b39b
leave false
montezdesousa Feb 5, 2023
91e109a
black
montezdesousa Feb 5, 2023
648a83f
handle some error cases
montezdesousa Feb 5, 2023
c6aadac
Add sheetnames and improve mret
JerBouma Feb 6, 2023
be6124e
add test case
montezdesousa Feb 6, 2023
a8c5e9b
Update tests
JerBouma Feb 6, 2023
e022046
Merge branch 'develop' into feature/login
jmaslek Feb 6, 2023
93d341a
Merge branch 'develop' into feature/remove-cash
jmaslek Feb 6, 2023
0ee2ebc
Refractor `stocks/fa` by incorporating `stocks/dd` and making the men…
JerBouma Feb 6, 2023
374c94a
Merge branch 'OpenBB-finance:develop' into OpenBBTerminal-main
tehcoderer Feb 6, 2023
4475e74
general msgs
montezdesousa Feb 6, 2023
b764198
remove print
montezdesousa Feb 6, 2023
38982a6
Merge branch 'develop' into feature/remove-cash
JerBouma Feb 6, 2023
5204427
Move ark around, updates docs, update SDK
JerBouma Feb 7, 2023
cc23603
Merge branch 'develop' into hotfix/fix4144
JerBouma Feb 7, 2023
198d799
Remove duplicate ruff selection of pycodestyle warnings (W)
andyhuynh3 Feb 7, 2023
ef12295
Remove code of legacy jupyter lab extensions from the repo (#4146)
piiq Feb 7, 2023
44172b0
Got pyupgrade removed and ruff pylint added
colin99d Feb 7, 2023
9c7f97a
Finishing touches
colin99d Feb 7, 2023
e663f6a
Merge branch 'develop' into ruff-remove-duplicate-select
jmaslek Feb 7, 2023
b8e441e
Merge branch 'develop' into feature/remove-dd-docs
jmaslek Feb 7, 2023
4af2408
removing timezone on expor xlsx
hjoaquim Feb 7, 2023
b4d1d3f
adding tests
hjoaquim Feb 7, 2023
b49e7d2
Added fixes
colin99d Feb 7, 2023
f013668
fix tests
hjoaquim Feb 7, 2023
24aec0c
fix: upgrade @radix-ui/react-popover from 1.0.2 to 1.0.3
snyk-bot Feb 7, 2023
b49e633
Revert "fix tests"
hjoaquim Feb 7, 2023
0a60c72
Revert "Revert "fix tests""
hjoaquim Feb 7, 2023
33f08fc
Revert "fix tests"
hjoaquim Feb 7, 2023
b2812f0
fix tests and fix introduced bug
hjoaquim Feb 7, 2023
826522b
Merge pull request #4163 from OpenBB-finance/hotfix/fix-4040
jmaslek Feb 7, 2023
48b8df4
Merge branch 'develop' into feature/remove-pyupgrade
colin99d Feb 7, 2023
98fcf18
Merge branch 'develop' into hotfix/fix4144
jmaslek Feb 7, 2023
48f3964
Merge branch 'develop' into snyk-upgrade-36d1dd271ed62d7b6b355f56040d…
jmaslek Feb 7, 2023
49ae527
Merge branch 'develop' into ruff-remove-duplicate-select
jmaslek Feb 7, 2023
5bb0f25
Merge pull request #4160 from OpenBB-finance/feature/remove-pyupgrade
jmaslek Feb 7, 2023
6169c22
Merge branch 'develop' into ruff-remove-duplicate-select
jmaslek Feb 7, 2023
a2fea9c
Merge branch 'develop' into snyk-upgrade-36d1dd271ed62d7b6b355f56040d…
jmaslek Feb 7, 2023
b6bcc4a
Merge pull request #4165 from OpenBB-finance/snyk-upgrade-36d1dd271ed…
jmaslek Feb 7, 2023
25caa15
Merge branch 'develop' into ruff-remove-duplicate-select
jmaslek Feb 7, 2023
7605926
Merge branch 'develop' into feature/remove-cash
jmaslek Feb 7, 2023
14a1b8b
Merge branch 'OpenBB-finance:develop' into OpenBBTerminal-main
tehcoderer Feb 7, 2023
e78bf76
Merge pull request #4156 from andyhuynh3/ruff-remove-duplicate-select
jmaslek Feb 7, 2023
7595f1d
Merge branch 'develop' into hotfix/fix4144
jmaslek Feb 7, 2023
21c35e1
Merge branch 'OpenBB-finance:develop' into OpenBBTerminal-main
tehcoderer Feb 7, 2023
663db92
Merge pull request #4145 from OpenBB-finance/hotfix/fix4144
jmaslek Feb 7, 2023
dbc368f
Merge branch 'develop' into feature/remove-cash
jmaslek Feb 7, 2023
1e1f19e
Merge pull request #4149 from OpenBB-finance/feature/remove-cash
jmaslek Feb 7, 2023
93dd0bc
Fix crypto/disc/top sort (#4167)
montezdesousa Feb 8, 2023
2f9b775
I missed a s
JerBouma Feb 8, 2023
4bba630
Add back in Filings command within Disc this time
JerBouma Feb 8, 2023
1e55dbe
Move filings to the correct place
JerBouma Feb 8, 2023
ac87adb
Update filings sdk path
JerBouma Feb 8, 2023
0cce824
Update files
JerBouma Feb 8, 2023
46e7eee
Merge branch 'develop' into feature/remove-dd-docs
JerBouma Feb 8, 2023
e8049c6
Fix index command, treasury export and overview
JerBouma Feb 8, 2023
34f7b25
Remove mention of being able to execute a routine that doesn't exist
JerBouma Feb 8, 2023
072c78e
Forget the filings source
JerBouma Feb 8, 2023
ffad925
Fix tests
JerBouma Feb 8, 2023
caca34b
Merge remote-tracking branch 'OpenBB-finance/develop' into develop
hjoaquim Feb 8, 2023
9ae675d
Woops
JerBouma Feb 8, 2023
026ec53
Merge branch 'develop' into feature/login
montezdesousa Feb 8, 2023
b9bc0aa
ruff
montezdesousa Feb 8, 2023
269c339
fix sources not updated real time
montezdesousa Feb 8, 2023
d593f99
Merge branch 'develop' into feature/login
montezdesousa Feb 8, 2023
555dae0
missing return doc
montezdesousa Feb 8, 2023
68cd7e3
Merge branch 'feature/login' of github.com:OpenBB-finance/OpenBBTermi…
montezdesousa Feb 8, 2023
397a388
Update the documentation so the importance of API keys is more clear
JerBouma Feb 8, 2023
a66eeac
Remove legacy macro endpoints with no country parameter (#4173)
montezdesousa Feb 8, 2023
37f1e91
Merge branch 'develop' into feature/docs-api-keys-update
JerBouma Feb 8, 2023
a6a67ef
Merge branch 'develop' into feature/remove-dd-docs
jmaslek Feb 8, 2023
cc8b366
Merge pull request #4172 from OpenBB-finance/feature/docs-api-keys-up…
jmaslek Feb 8, 2023
34dcc84
Merge branch 'develop' into feature/remove-dd-docs
jmaslek Feb 8, 2023
6c6d948
Merge remote-tracking branch 'OpenBB-finance/develop' into develop
hjoaquim Feb 8, 2023
f2c40d0
Adjust timezone for AV when interval < 1d (#4158)
hjoaquim Feb 8, 2023
f3094ac
Merge branch 'develop' into feature/remove-dd-docs
jmaslek Feb 8, 2023
21244d5
fix: upgrade tailwindcss-radix from 2.6.2 to 2.7.0
snyk-bot Feb 8, 2023
bbd802b
adding rmse, mse to regr
martinb-ai Feb 8, 2023
15fdbce
brnn metrics
martinb-ai Feb 8, 2023
b47fcc8
expo metrics
martinb-ai Feb 8, 2023
477e427
linregr metrics
martinb-ai Feb 8, 2023
0380c4d
nbeats metrics
martinb-ai Feb 8, 2023
8ccb1dd
nhits metrics
martinb-ai Feb 8, 2023
bd20473
rnn metric
martinb-ai Feb 8, 2023
56eba54
tcn metrics
martinb-ai Feb 8, 2023
39ab07d
tft metric
martinb-ai Feb 8, 2023
fe074dd
theta metrics
martinb-ai Feb 8, 2023
168bb0a
trans metric
martinb-ai Feb 8, 2023
2e67ceb
linting
martinb-ai Feb 8, 2023
c04b1e8
linting #2
martinb-ai Feb 8, 2023
90b4881
Merge pull request #4155 from OpenBB-finance/feature/remove-dd-docs
jmaslek Feb 8, 2023
51d0f38
Merge branch 'develop' into snyk-upgrade-e847c32ab63e0d888c1df84d42c8…
jmaslek Feb 8, 2023
8482f8b
Merge branch 'develop' into feature/forecast-metrics
martinb-ai Feb 8, 2023
182ea05
Merge pull request #4177 from OpenBB-finance/snyk-upgrade-e847c32ab63…
jmaslek Feb 8, 2023
09f1094
Merge branch 'develop' into feature/forecast-metrics
martinb-ai Feb 8, 2023
9d2509a
smape
martinb-ai Feb 8, 2023
716ac98
Merge branch 'OpenBB-finance:develop' into OpenBBTerminal-main
tehcoderer Feb 8, 2023
759a2c7
add guest if no email
montezdesousa Feb 9, 2023
ead2e2e
Routine remote storage (#4143)
montezdesousa Feb 9, 2023
c855374
Merge branch 'develop' into feature/login
montezdesousa Feb 9, 2023
11ee026
change prompt display
montezdesousa Feb 9, 2023
0fbcb47
rewrite test
montezdesousa Feb 9, 2023
7dce180
rewrite expected
montezdesousa Feb 9, 2023
418b7aa
rewrite call
montezdesousa Feb 9, 2023
28a5ee4
try passing git action
montezdesousa Feb 9, 2023
a0afedc
change .yml everywhere
montezdesousa Feb 9, 2023
5953be0
Terminal authentication + keys/settings/routines (#4015)
montezdesousa Feb 9, 2023
e568f7a
change register link to dev
montezdesousa Feb 9, 2023
9702f54
Merge branch 'develop' into hotfix/dev_register
montezdesousa Feb 9, 2023
40b95c4
ruff
montezdesousa Feb 9, 2023
fbf6ce0
Merge branch 'OpenBB-finance:develop' into OpenBBTerminal-main
tehcoderer Feb 9, 2023
e99a98e
Merge branch 'develop' into feature/forecast-metrics
jmaslek Feb 9, 2023
ac14ef9
Tests : mocking yfinance tzcache
Chavithra Feb 9, 2023
c06c5c8
update msg
montezdesousa Feb 9, 2023
c39358e
new msg
montezdesousa Feb 9, 2023
a8e2d2d
tests
montezdesousa Feb 9, 2023
df10cb2
change register link
montezdesousa Feb 9, 2023
2be68c1
Update banner.txt
tehcoderer Feb 9, 2023
d14e118
Tests : fix cassettes without timezone
Chavithra Feb 9, 2023
b149120
Tests : skip dcf
Chavithra Feb 9, 2023
b8dc2ef
Tests : update cassettes + txt + csv
Chavithra Feb 9, 2023
6645d4f
test
jmaslek Feb 9, 2023
62b724d
Merge pull request #4187 from Chavithra/feature/mocking_yfinance_tzcache
jmaslek Feb 9, 2023
4b10349
Merge branch 'develop' into hotfix/dev_register
jmaslek Feb 9, 2023
1593a76
Merge branch 'develop' into feature/forecast-metrics
martinb-ai Feb 9, 2023
09f7a04
linting #3
martinb-ai Feb 9, 2023
5d47c19
Merge pull request #4184 from OpenBB-finance/hotfix/dev_register
jmaslek Feb 9, 2023
c292f41
Merge branch 'develop' into hotfix/banner-spaced
jmaslek Feb 9, 2023
e363ad0
Merge branch 'develop' into feature/forecast-metrics
martinb-ai Feb 9, 2023
6e484e8
Merge pull request #4189 from tehcoderer/hotfix/banner-spaced
jmaslek Feb 9, 2023
9895cb2
Merge branch 'develop' into feature/forecast-metrics
jmaslek Feb 9, 2023
373f387
Return a dataframe from stocks search, allow override to not export t…
joey-walker Feb 9, 2023
583bb1d
Merge pull request #4178 from OpenBB-finance/feature/forecast-metrics
jmaslek Feb 9, 2023
dc541a9
Add merge group (#4191)
jmaslek Feb 9, 2023
06b9196
Fix documentation to reflect changes in search method in sdk
joey-walker Feb 9, 2023
cf84504
Fix some account bugs (#4190)
montezdesousa Feb 9, 2023
f143f83
Restores numeric values (#4183)
hjoaquim Feb 9, 2023
4b7cfd1
Feature/dependency grooming (#4166)
piiq Feb 9, 2023
6421be3
Cleanse functionality from relying on `yfinance` (#4176)
JerBouma Feb 9, 2023
4f915e6
Updating poetry to v1.3.2 and dependencies (#4076)
aia Feb 9, 2023
424d073
Feature/some cleaning (#4170)
hjoaquim Feb 9, 2023
e3caa9c
[FEAT] Nightly Build slack Notifications (#4188)
luqmanbello Feb 10, 2023
92360a7
Update PR Template and Contributing guidelines (#4194)
jmaslek Feb 10, 2023
a3c4e09
Merge remote-tracking branch 'OpenBB-finance/develop' into develop
hjoaquim Feb 10, 2023
f247b6d
Remove export_to_file flag for redundancy
joey-walker Feb 10, 2023
06d737f
Adding intrinio and cleaning up options a bit more (#4127)
jmaslek Feb 10, 2023
d0d1eb8
Remove erroneous extra line from documentation
joey-walker Feb 10, 2023
5c2cbf2
Merge branch 'develop' into feature/search-return-df
jmaslek Feb 10, 2023
dadfe9e
removed portfolio.po deleted functions, fixed stocks.disc.filings inc…
tehcoderer Feb 10, 2023
e31c206
Merge branch 'develop' into feature/search-return-df
jmaslek Feb 10, 2023
a11810a
Remove export to file now that we are returning a dataframe. Always …
joey-walker Feb 10, 2023
813fb81
fix wrongly converted values
hjoaquim Feb 10, 2023
47a1def
Merge branch 'develop' into hotfix/fix-4203
hjoaquim Feb 10, 2023
37d7c87
Adds algolia to docs (#4208)
jose-donato Feb 10, 2023
047ee64
Merge branch 'develop' into feature/search-return-df
jmaslek Feb 10, 2023
7639d46
Merge pull request #4193 from joey-walker/feature/search-return-df
jmaslek Feb 10, 2023
d47234b
Merge branch 'develop' into hotfix/fix-4203
jmaslek Feb 10, 2023
daad65a
update tests
jmaslek Feb 10, 2023
84da1cf
Merge pull request #4211 from OpenBB-finance/hotfix/fix-4203
jmaslek Feb 10, 2023
2a7ec56
Sunset some dependencies (#4215)
jmaslek Feb 13, 2023
5aebae4
Feature/general improvements (#4213)
jmaslek Feb 13, 2023
383940e
Changed poetry version for docker build (#4229)
luqmanbello Feb 13, 2023
c2f88d4
Fix generate_portfolio SDK usage example (#4216)
northern-64bit Feb 13, 2023
825b895
Set guest by default and put authentication behind environment variab…
montezdesousa Feb 14, 2023
fca7ec3
block logout (#4233)
montezdesousa Feb 14, 2023
cd5cb61
Hotfix/Splashscreen Staying up on Windows installer (#4232)
tehcoderer Feb 14, 2023
d6ab000
Fixes bad yFinance candles with auto_adjust=True (#4231)
deeleeramone Feb 14, 2023
5705675
Report rendering can't handle save path for users that have a period …
tan-yong-sheng Feb 14, 2023
33404e2
Release 2.4.0
jmaslek Feb 14, 2023
cd94f5d
Remove brotlipy step
jmaslek Feb 14, 2023
d742a2c
Merge branch 'main' into release/2.4.0
jmaslek Feb 14, 2023
73c29f9
Previous user to true
jmaslek Feb 14, 2023
844d386
Wrong env var
jmaslek Feb 14, 2023
ce64a99
Change poetry -> pip
jmaslek Feb 14, 2023
8a406c5
Reverse order
jmaslek Feb 14, 2023
41d242a
Change the if statement for the initial user
jmaslek Feb 14, 2023
437a08f
Revert
jmaslek Feb 14, 2023
04e9a7c
Catch the eof error
jmaslek Feb 14, 2023
4c591bf
trail map
jmaslek Feb 14, 2023
f688ec7
Update unit test
jmaslek Feb 14, 2023
28420cb
Fast fail
jmaslek Feb 14, 2023
7761ad0
macos conda
jmaslek Feb 14, 2023
482f6f8
Fix trailmap again
jmaslek Feb 14, 2023
dbc5681
Try poetry install again
jmaslek Feb 14, 2023
5f404b2
One more thing to try
jmaslek Feb 14, 2023
b65bc63
Like i never touched it
jmaslek Feb 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ Dockerfile*
.idea
__pycache__
.python-version
jupyterlab/*/node_modules
logs/
5 changes: 3 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@

# Checklist:

- [ ] Update [our Hugo documentation](https://openbb-finance.github.io/OpenBBTerminal/) following [these guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/website).
- [ ] I have adhered to the GitFlow naming convention and my branch name is in the format of `feature/feature-name` or `hotfix/hotfix-name`.
- [ ] Update [our documentation](https://openbb-finance.github.io/OpenBBTerminal/) following [these guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/website). Update any user guides that are affected by the changes.
- [ ] Update our tests following [these guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/tests).
- [ ] Make sure you are following our [CONTRIBUTING guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/blob/main/CONTRIBUTING.md).
- [ ] If a feature was added make sure to add it to the corresponding [scripts file](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/scripts).
- [ ] If a feature was added make sure to add it to the corresponding [integration test script](https://github.com/OpenBB-finance/OpenBBTerminal/tree/develop/openbb_terminal/miscellaneous/integration_tests_scripts).


# Others
Expand Down
18 changes: 18 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
name-template: 'OpenBB Terminal v$NEXT_MINOR_VERSION'
tag-template: 'v$NEXT_MINOR_VERSION'
exclude-contributors:
- 'jmaslek'
- 'DidierRLopes'
- 'JerBouma'
- 'deeleeramone'
- 'hjoaquim'
- 'jose-donato'
- 'luqman-bello'
- 'martinb-bb'
- 'montezdesousa'
- 'tehcoderer'
- 'Chavithra'
- 'colin99d'
- 'northern-64bit'
- 'piiq'
- 'andrewkenreich'

template: |
## Thank you and welcome to our new contributors 🔥
$CONTRIBUTORS

## What's new 🎉

## What's changed 🚀
$CHANGES

Expand Down
244 changes: 244 additions & 0 deletions .github/workflows/README.md

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.1.13
version: 1.3.2
virtualenvs-create: true
virtualenvs-in-project: true

Expand Down Expand Up @@ -76,4 +76,3 @@ jobs:
# You can swap them out with your own user credentials.
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com

34 changes: 32 additions & 2 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@ concurrency:
jobs:
integration-tests:
runs-on: ubuntu-latest
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
steps:
- name: Slack Notification - Starting
uses: act10ns/slack@v1
with:
status: starting
channel: '#workflows'
message: Starting Integration Test...
if: always()

- name: Checkout code
if: github.event_name == 'push'
uses: actions/checkout@v3
Expand All @@ -31,7 +41,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.1.13
version: 1.3.2
virtualenvs-create: true
virtualenvs-in-project: true

Expand All @@ -47,6 +57,26 @@ jobs:
run: poetry install --no-interaction -E optimization

- name: Run integration tests
id: integration-tests
run: |
source $VENV
python terminal.py /home/runner/work/OpenBBTerminal/OpenBBTerminal/openbb_terminal/miscellaneous/integration_tests_scripts -t
python terminal.py -t > result.txt
cat result.txt
grep "================================ integration test summary ================================" result.txt -A100 | tail -c 2000 > failed_tests.txt

- name: Upload summary to Slack
uses: adrey/slack-file-upload-action@master
with:
token: ${{ secrets.SLACK_API_TOKEN }}
initial_comment: "Integration test summary"
title: "Integration test summary"
path: failed_tests.txt
channel: ${{ secrets.SLACK_CHANNEL_ID }}

- name: Slack Notification - Success/Failure
uses: act10ns/slack@v1
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#workflows'
if: always()
34 changes: 24 additions & 10 deletions .github/workflows/intel_macos_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
# Checkout repository main branch. this allows for the commit hashes to line up
- name: Checkout
uses: actions/checkout@v2.4.2
uses: actions/checkout@v3
- name: Git Log
run: git log
# Install create-dmg
Expand All @@ -36,7 +36,7 @@ jobs:
echo $PATH
# Set up caching for conda env so that the workflow runs quickly after the first time
- name: Setup Conda Caching
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/conda_pkgs_dir
key: conda-macos-3-9-${{ hashFiles('build/conda/conda-3-9-env-full.yaml') }}
Expand All @@ -53,19 +53,19 @@ jobs:
activate-environment: build_env
use-only-tar-bz2: true # Needed for caching some reason
- name: Run Poetry
run: poetry install
- name: Install Pyinstaller
run: poetry install -E installer
- name: Install Portfolio Optimization and Forecasting Toolkits
run: poetry install -E all
run: |
pip list
python -m pip install -r requirements-full.txt
- name: Install Specific Papermill
run: |
pip list
pip uninstall papermill -y
pip install git+https://github.com/nteract/papermill.git@main
# This is basically the same as build4mac.sh
- name: Build Bundle
run: |
pyinstaller build/pyinstaller/terminal.spec --clean
pip list
python -m PyInstaller build/pyinstaller/terminal.spec --clean
osascript build/pyinstaller/setup_icons.applescript
mkdir DMG
cp -r build/pyinstaller/macOS_package_assets/* DMG/
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
rm -rf build/terminal
rm -rf dist
rm -rf DMG
- name: Notorize DMG
- name: Notarize DMG
env:
NOTARIZE_APPLE_ID: ${{ secrets.NOTARIZE_APPLE_ID }}
NOTARIZE_APPLE_PWD: ${{ secrets.NOTARIZE_APPLE_PWD }}
Expand Down Expand Up @@ -177,8 +177,22 @@ jobs:
cp -R OpenBB\ Terminal ~/Desktop
- name: Unmount DMG
run: hdiutil detach /dev/disk2

- name: Run Integration Tests
run: /Users/openbb/Desktop/OpenBB\ Terminal/.OpenBB/OpenBBTerminal /Users/openbb/actions-runner/_work/OpenBBTerminal/OpenBBTerminal/openbb_terminal/miscellaneous/integration_tests_scripts -t
run: |
/Users/openbb/Desktop/OpenBB\ Terminal/.OpenBB/OpenBBTerminal -t -s forecast cryptocurrency reports alternative economy futures econometrics dashboards portfolio stocks/test_stocks_options_screen.openbb stocks/test_stocks_options.openbb forex etf stocks/test_stocks_fa.openbb > result.txt
cat result.txt
grep "================================ integration test summary ================================" result.txt -A100 | tail --bytes=2000 > failed_tests.txt

- name: Upload summary to Slack
uses: adrey/slack-file-upload-action@master
with:
token: ${{ secrets.SLACK_API_TOKEN }}
initial_comment: "Intel MacOs Build Integration test summary"
title: "Intel MacOs Build Integration test summary"
path: failed_tests.txt
channel: ${{ secrets.SLACK_CHANNEL_ID }}

- name: Remove OpenBB Folder
run: rm -rf /Users/openbb/Desktop/OpenBB\ Terminal
- name: Remove OpenBB Exports Folder
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
with:
mode: minimum
count: 1
labels: "guides, bug, build, do not merge, docker, docs, duplicate, enhancement, feat XS, feat S, feat M, feat L, feat XL, help wanted, refactor, tests, discord, dependencies, notebookreports, dashboards, analytics, portfolio, installer, SDK, HACKTOBERFEST, "
labels: "guides, bug, build, do not merge, docker, docs, duplicate, enhancement, feat XS, feat S, feat M, feat L, feat XL, help wanted, refactor, tests, discord, dependencies, notebookreports, dashboards, analytics, portfolio, installer, SDK, release "
- uses: mheap/github-action-required-labels@v1
with:
mode: exactly
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ on:
- 'feature/*'
- 'hotfix/*'
- 'release/*'
merge_group:
types: [checks_requested]

# Cancel previous runs that are not yet completed.
concurrency:
Expand Down Expand Up @@ -43,16 +45,14 @@ jobs:
restore-keys: ${{ runner.os }}-linting-${{ hashFiles('**/poetry.lock') }}

- run: |
pip install bandit black codespell mypy==0.982 pyupgrade safety pylint==2.15.2 packaging==22 ruff==0.0.236
pip install bandit black codespell mypy==0.982 safety pylint==2.15.2 packaging==22 ruff==0.0.243
pip install types-pytz types-requests types-termcolor types-tabulate types-PyYAML types-python-dateutil types-setuptools types-six
- run: bandit -x ./tests -r . || true
- run: black --diff --check .
- run: codespell --ignore-words-list=commun,statics,ro,zar,zlot,jewl,ba,buil,coo,ether,hist,hsi,mape,navagation,operatio,pres,ser,yeld,shold,ist,varian,datas,ake,creat,vie,hel,ket,toke,certi,buidl,ot,te --quiet-level=2 --skip=./tests,.git,*.css,*.csv,*.html,*.ini,*.ipynb,*.js,*.json,*.lock,*.scss,*.txt,*.yaml,./build/pyinstaller,./website/config.toml
- run: ruff .
- run: mypy --ignore-missing-imports openbb_terminal
- run: shopt -s globstar && pyupgrade --py38-plus **/*.py
- run: |
pylint terminal.py openbb_terminal tests
- run: pylint terminal.py openbb_terminal tests

markdown-link-check:
name: Markdown Linting
Expand Down
Loading