-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #261 from bitfinexcom/staging
Release version 4.13.0
- Loading branch information
Showing
6 changed files
with
76 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
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 and install deps | ||
run: ./scripts/setup.sh -u | ||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule bfx-report-ui
updated
44 files
Submodule bfx-reports-framework
updated
4 files
+39 −0 | .github/workflows/ci.yml | |
+30 −0 | .github/workflows/test-report.yml | |
+1 −1 | bfx-report-ui | |
+1 −1 | package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters