-
Notifications
You must be signed in to change notification settings - Fork 32
42 lines (37 loc) · 904 Bytes
/
ci.yaml
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
name: CI
on:
pull_request:
schedule:
- cron: "0 0 * * 0"
env:
WORK_DIR: packages/starknet
jobs:
lint:
steps:
- uses: actions/checkout@v2
- uses: dart-lang/[email protected]
- uses: bluefireteam/melos-action@v3
- run: melos bootstrap
- run: melos format:check
- run: melos analyze
test-unit:
needs: lint
steps:
- uses: actions/checkout@v2
- uses: dart-lang/[email protected]
- uses: bluefireteam/melos-action@v3
- run: melos bootstrap
- run: melos test:dart:unit
test-integration:
needs: lint
services:
devnet:
image: shardlabs/starknet-devnet-rs:0.0.6
ports:
- 5050:5050
steps:
- uses: actions/checkout@v2
- uses: dart-lang/[email protected]
- uses: bluefireteam/melos-action@v3
- run: melos bootstrap
- run: melos test:dart:integration