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

test: namada explorer [web-namada] #1327

Open
wants to merge 31 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
37e0de7
feat: start with namada
icfor Feb 21, 2024
78512e3
chore: add namada workspace
icfor Feb 21, 2024
3019dde
feat: start with block transactions list
icfor Feb 22, 2024
1d10164
feat: add transaction type
icfor Feb 22, 2024
d197897
feat: add transactions list and details
icfor Feb 22, 2024
6c1a52d
feat: add light theme and improve ui
icfor Feb 22, 2024
e9c0634
feat: start with namada validators
icfor Feb 26, 2024
009c439
fix: button color
icfor Feb 26, 2024
b974afd
feat: add websocket
icfor Feb 26, 2024
0fdbf92
chore: add extra info
icfor Feb 26, 2024
b596158
chore: data source
icfor Feb 27, 2024
81d5c98
fix: use namada websocket
icfor Feb 27, 2024
8a7233c
feat: support more data in the overview
icfor Feb 28, 2024
322ade6
chore: improve transactions
icfor Feb 28, 2024
8e9ce5b
feat: start adding support for messages
icfor Feb 29, 2024
7fbb204
feat: update validator status
icfor Feb 29, 2024
37108a9
feat: remove validator condition
icfor Feb 29, 2024
178b84d
feat: update page preview
icfor Feb 29, 2024
023aea3
chore: improve json display
icfor Feb 29, 2024
2f8c09f
chore: remove account details
icfor Mar 1, 2024
de6b5a5
chore: update links
icfor Mar 1, 2024
a6414bc
Merge branch 'namada' of github.com:forbole/big-dipper-2.0-cosmos int…
icfor Mar 1, 2024
4904efa
feat: add block time, proposals, remove signatures
icfor Mar 1, 2024
7a72445
feat: start with proposals
icfor Mar 7, 2024
87dfa54
feat: support proposal description
icfor Mar 8, 2024
a081a69
feat: start adding tally results
icfor Mar 8, 2024
2129c3f
fix: update votes list
icfor Mar 8, 2024
0b55160
feat: remove not-voted column
icfor Mar 8, 2024
f8ddf89
feat: update voting tally copy
icfor Mar 8, 2024
7cf3163
feat: add label display
icfor Mar 8, 2024
e3997a8
chore: add empty commit to trigger deployment
icfor Apr 23, 2024
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
124 changes: 1 addition & 123 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,126 +23,4 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn --immutable --immutable-cache --check-cache
changed-workspaces:
runs-on: ubuntu-latest
outputs:
projects: ${{ steps.dry-run.outputs.projects }}
projects-web: ${{ steps.dry-run.outputs.projects-web }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn --immutable --immutable-cache
- name: Set needs.changed-workspaces.outputs.{projects,projects-web}
id: dry-run
run: |
echo yarn build:ci --dry='json' --filter='[${{ github.event.pull_request.base.sha }}]' | tee -a $GITHUB_STEP_SUMMARY
export DRY_BUILD_JSON=$(
yarn build:ci --dry='json' --filter='[${{ github.event.pull_request.base.sha }}]' | jq '{packages: .packages}'
)
node <<EOF | tee -a $GITHUB_OUTPUT $GITHUB_STEP_SUMMARY
const { packages } = JSON.parse(process.env.DRY_BUILD_JSON);
console.log('projects=' + JSON.stringify(packages.filter(p => /^(?:ui|web.*)$/.test(p))));
EOF
node <<EOF | tee -a $GITHUB_OUTPUT $GITHUB_STEP_SUMMARY
const { packages } = JSON.parse(process.env.DRY_BUILD_JSON);
console.log('projects-web=' + JSON.stringify(packages.filter(p => /^web.*$/.test(p))));
EOF
ts-lint-build:
if: ${{ success() && needs.changed-workspaces.outputs.projects != '[]' }}
needs: changed-workspaces
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project: ${{ fromJSON(needs.changed-workspaces.outputs.projects) }}
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn --immutable --immutable-cache
- name: ts-check
run: |
echo '```' >> $GITHUB_STEP_SUMMARY
yarn ts-check:ci --filter=${{ matrix.project }} | tee -a $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
- name: lint
run: |
echo '```' >> $GITHUB_STEP_SUMMARY
yarn lint:ci --filter=${{ matrix.project }} | tee -a $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
- name: build
if: ${{ needs.changed-workspaces.outputs.projects-web != '[]' }}
run: |
echo '```' >> $GITHUB_STEP_SUMMARY
yarn build:ci --filter=${{ matrix.project }} | tee -a $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
jest-test:
if: ${{ success() && needs.changed-workspaces.outputs.projects != '[]' }}
needs: changed-workspaces
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shardIndex: [1, 2, 3, 4, 5]
shardTotal: [5]
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn --immutable --immutable-cache
- name: test
run: |
echo '```' >> $GITHUB_STEP_SUMMARY
yarn test:ci --filter=${{ join(fromJSON(needs.changed-workspaces.outputs.projects), ' --filter=') }} -- --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} --coverage | tee -a $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
e2e-playwright:
if: ${{ success() && needs.changed-workspaces.outputs.projects-web != '[]' }}
needs: changed-workspaces
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
project: [web]
browser:
- chromium
# - firefox
# - webkit
# - mobile-chrome
- mobile-safari
shardIndex: [1, 2, 3, 4, 5]
shardTotal: [5]
container:
image: mcr.microsoft.com/playwright:v1.33.0-focal
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn --immutable --immutable-cache
- name: Playwright testing
run: |
echo '```' >> $GITHUB_STEP_SUMMARY
yarn playwright test --project=${{ matrix.browser }} --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} | tee -a $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
env:
CI: 1
DEBUG: pw:webserver
PROJECT_NAME: ${{ matrix.project }}
PLAYWRIGHT_HTML_REPORT: playwright-report/${{ matrix.browser }}/${{ matrix.shardIndex }}
- uses: actions/upload-artifact@v3
if: ${{ failure() }}
with:
name: trace.playwright.dev
path: playwright-report/
retention-days: 7
- run: echo Skipped
132 changes: 132 additions & 0 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading