Skip to content

Merge pull request #1321 from ponder-sh/kjs/fix-reorg-sql #325

Merge pull request #1321 from ponder-sh/kjs/fix-reorg-sql

Merge pull request #1321 from ponder-sh/kjs/fix-reorg-sql #325

Workflow file for this run

name: Windows
on:
push:
branches:
- main
jobs:
test:
name: Test [core]
runs-on: windows-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
database: [Postgres, PGLite]
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup Postgres
if: ${{ matrix.database == 'Postgres' }}
uses: ikalnytskyi/action-setup-postgres@v4
id: postgres
- name: Setup
uses: ./.github/actions/setup
- name: Codegen
run: cd packages/core/ && pnpm wagmi generate
- name: Test
run: pnpm --filter core test:typecheck
env:
DATABASE_URL: ${{ matrix.database == 'Postgres' && steps.postgres.outputs.connection-uri || '' }}
test-create-ponder:
name: Test [create-ponder]
runs-on: windows-latest
timeout-minutes: 10
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Test
run: pnpm --filter create-ponder test
env:
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}