File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Pull Request Integration
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+ - uses : foundry-rs/setup-snfoundry@v3
15+ with :
16+ starknet-foundry-version : " 0.49.0"
17+ - uses : software-mansion/setup-scarb@v1
18+ with :
19+ scarb-version : " 2.12.2"
20+
21+ - name : Install cairo-coverage
22+ run : |
23+ curl -L https://raw.githubusercontent.com/software-mansion/cairo-coverage/main/scripts/install.sh | sh
24+
25+ - name : Run test and coverage
26+ run : scarb test -w --coverage
27+
28+ - uses : codecov/codecov-action@v5.3.1
29+ with :
30+ token : ${{ secrets.CODECOV_TOKEN }}
31+ files : packages/utils/coverage/coverage.lcov
32+ fail_ci_if_error : true
33+
34+ - name : Check formatting
35+ run : |
36+ scarb fmt -w --check
You can’t perform that action at this time.
0 commit comments