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 version to master #327

Merged
merged 5 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI
run-name: 'Run tests: Commit ${{ github.sha }}'

on:
pull_request:
types: [opened, reopened, edited]
branches:
- master
workflow_dispatch:

jobs:
linux-test-runner:
name: Linux Test Runner
timeout-minutes: 30
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 18.17.1
- name: Setup configs
run: |
cp config/common.json.example config/common.json \
&& cp config/schedule.json.example config/schedule.json \
&& cp config/service.report.json.example config/service.report.json \
&& cp config/facs/grc.config.json.example config/facs/grc.config.json \
&& cp config/facs/grc-slack.config.json.example config/facs/grc-slack.config.json
- name: Install deps
run: npm i
- name: Run tests
run: npm test -- --reporter=json --reporter-option output=test-report.json
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test-results
path: test-report.json
30 changes: 30 additions & 0 deletions .github/workflows/test-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Test Report'
run-name: 'Test Report: Commit ${{ github.sha }}'

on:
workflow_run:
workflows: ['CI']
types:
- completed

permissions:
contents: read
actions: read
checks: write

jobs:
web-page-report:
name: Web Page Report
runs-on: ubuntu-22.04
steps:
- uses: dorny/test-reporter@v1
id: test-results
with:
artifact: test-results
name: Mocha Tests
path: test-report.json
reporter: mocha-json
- name: Test Report Summary
run: |
echo "### Test Report page is ready! :rocket:" >> $GITHUB_STEP_SUMMARY
echo "And available at the following [Link](${{ steps.test-results.outputs.url_html }})" >> $GITHUB_STEP_SUMMARY
2 changes: 1 addition & 1 deletion bfx-report-ui
Submodule bfx-report-ui updated 44 files
+8 −2 package-lock.json
+2 −1 package.json
+19 −0 public/locales/en/translations.json
+2 −2 src/components/AccountSummary/AccountSummary.js
+47 −0 src/components/AppSummary/AppSummary.container.js
+138 −0 src/components/AppSummary/AppSummary.fees.js
+149 −0 src/components/AppSummary/AppSummary.js
+41 −0 src/components/AppSummary/AppSummary.leo.js
+92 −0 src/components/AppSummary/AppSummary.value.js
+210 −0 src/components/AppSummary/_AppSummary.scss
+1 −0 src/components/AppSummary/index.js
+2 −2 src/components/Auth/LoginOtp/LoginOtp.js
+4 −4 src/components/Auth/RegisterSubAccounts/RegisterSubAccounts.js
+2 −2 src/components/Auth/SignIn/SignIn.js
+5 −5 src/components/Auth/SignInList/SignInList.helpers.js
+2 −1 src/components/Main/Main.js
+6 −6 src/components/SubAccounts/SubAccount/SubAccount.js
+2 −2 src/components/SubAccounts/SubAccount/utils/index.js
+2 −2 src/components/Wallets/Wallets.js
+1 −1 src/icons/_icons.scss
+1 −1 src/icons/affiliates.svg
+2 −0 src/icons/index.js
+82 −0 src/icons/leo.svg
+1 −0 src/state/accountBalance/reducer.js
+2 −0 src/state/accountBalance/selectors.js
+4 −5 src/state/auth/Authenticator.js
+2 −2 src/state/auth/saga.js
+2 −2 src/state/feesReport/saga.js
+2 −2 src/state/filters/selectors.js
+2 −2 src/state/filters/utils.js
+3 −3 src/state/routing/saga.js
+2 −2 src/state/sync/saga.js
+2 −2 src/state/weightedAverages/reducer.js
+5 −0 src/styles/index.scss
+1 −0 src/styles/themes/_dark.scss
+1 −0 src/styles/themes/_light.scss
+18 −13 src/ui/Charts/Chart/Chart.js
+4 −0 src/ui/Charts/Chart/Chart.props.js
+0 −4 src/ui/Charts/Chart/_Chart.scss
+30 −2 src/ui/Charts/Charts.helpers.js
+2 −2 src/ui/ColumnsFilter/ColumnsFilter.helpers.js
+2 −2 src/ui/SectionHeader/_SectionHeader.scss
+3 −0 src/ui/utils.js
+2 −3 src/utils/columns.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bfx-reports-framework",
"version": "4.9.0",
"version": "4.10.0",
"description": "Bitfinex reports framework",
"main": "worker.js",
"license": "Apache-2.0",
Expand Down