-
Notifications
You must be signed in to change notification settings - Fork 102
51 lines (42 loc) · 1.14 KB
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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, SQLite]
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 }}