Merge pull request #1232 from mdqst/patch-1 #279
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
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 }} |