Skip to content

Commit

Permalink
stop coverage and increase size limit
Browse files Browse the repository at this point in the history
  • Loading branch information
plusminushalf committed Feb 25, 2024
1 parent dcf9d9d commit 7c3ce9f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 29 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,38 +13,38 @@ jobs:
uses: ./.github/workflows/verify.yml
secrets: inherit

bench:
name: Coverage
runs-on: ubuntu-latest
# bench:
# name: Coverage
# runs-on: ubuntu-latest

steps:
- name: Clone repository
uses: actions/checkout@v3
# steps:
# - name: Clone repository
# uses: actions/checkout@v3

- name: Install dependencies
uses: ./.github/actions/install-dependencies
# - name: Install dependencies
# uses: ./.github/actions/install-dependencies

- name: Build
run: bun run build
# - name: Build
# run: bun run build

- name: Run tests & coverage
run: bun run test:ci
env:
ENTRYPOINT_ADDRESS: ${{ vars.ENTRYPOINT_ADDRESS }}
FACTORY_ADDRESS: ${{ vars.FACTORY_ADDRESS }}
TEST_CHAIN_ID: ${{ vars.TEST_CHAIN_ID }}
TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}
RPC_URL: ${{ secrets.RPC_URL }}
BUNDLER_RPC_HOST: ${{ secrets.BUNDLER_RPC_HOST }}
PIMLICO_BUNDLER_RPC_HOST: ${{ secrets.PIMLICO_BUNDLER_RPC_HOST }}
PIMLICO_PAYMASTER_RPC_HOST: ${{ secrets.PIMLICO_PAYMASTER_RPC_HOST }}
ACTIVE_SPONSORSHIP_POLICY: ${{ secrets.ACTIVE_SPONSORSHIP_POLICY }}
DEBUG: true
# - name: Run tests & coverage
# run: bun run test:ci
# env:
# ENTRYPOINT_ADDRESS: ${{ vars.ENTRYPOINT_ADDRESS }}
# FACTORY_ADDRESS: ${{ vars.FACTORY_ADDRESS }}
# TEST_CHAIN_ID: ${{ vars.TEST_CHAIN_ID }}
# TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}
# RPC_URL: ${{ secrets.RPC_URL }}
# BUNDLER_RPC_HOST: ${{ secrets.BUNDLER_RPC_HOST }}
# PIMLICO_BUNDLER_RPC_HOST: ${{ secrets.PIMLICO_BUNDLER_RPC_HOST }}
# PIMLICO_PAYMASTER_RPC_HOST: ${{ secrets.PIMLICO_PAYMASTER_RPC_HOST }}
# ACTIVE_SPONSORSHIP_POLICY: ${{ secrets.ACTIVE_SPONSORSHIP_POLICY }}
# DEBUG: true

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v3
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

size:
name: Size
Expand Down
4 changes: 2 additions & 2 deletions .size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"name": "permissionless (esm)",
"path": "./packages/permissionless/_esm/index.js",
"limit": "30 kB",
"limit": "35 kB",
"import": "*"
},
{
Expand All @@ -13,7 +13,7 @@
{
"name": "permissionless (minimal surface - tree-shaking)",
"path": "./packages/permissionless/_esm/index.js",
"limit": "10 kB",
"limit": "15 kB",
"import": "{ bundlerActions }"
}
]

0 comments on commit 7c3ce9f

Please sign in to comment.