forked from keep-starknet-strange/madara
-
Notifications
You must be signed in to change notification settings - Fork 8
66 lines (56 loc) · 1.67 KB
/
push.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
name: Workflow - Push
on:
workflow_dispatch:
push:
branches: [main]
jobs:
linters:
name: Run linters
uses: ./.github/workflows/linters.yml
rust_build_test:
name: Build & Integration Tests
uses: ./.github/workflows/rust-build-test.yml
madara_commands:
name: Test Madara commands
uses: ./.github/workflows/madara-commands.yml
needs: [linters, rust_build_test]
linters_cargo:
name: Run Cargo linters
uses: ./.github/workflows/linters-cargo.yml
needs: madara_commands
rpc-tests:
name: Run rpc tests
uses: ./.github/workflows/starknet-rpc-tests.yml
needs: madara_commands
starknet-js-tests:
name: Run starknet-js compatibility tests
uses: ./.github/workflows/starknet-js-tests.yml
needs: madara_commands
starknet-foundry-tests:
name: Run Starknet Foundry compatibility tests
runs-on: ubuntu-latest
needs: madara_commands
env:
SNCAST_VERSION: "0.12.0"
SCARB_VERSION: "2.3.1"
steps:
- uses: keep-starknet-strange/starknet-foundry-compatibility-tests@main
# https://github.com/keep-starknet-strange/madara/issues/1097
# benchmark:
# name: Run benchmarks
# uses: ./.github/workflows/benchmarks.yml
# needs: [rust_build, tests]
# permissions:
# # deployments permission to deploy GitHub pages website
# deployments: write
# # contents permission to update benchmark contents in gh-pages branch
# contents: write
# # post on the pull-request page
# pull-requests: write
rustdoc:
name: Deploy docs to GitHub Pages
uses: ./.github/workflows/rustdoc.yml
needs: linters_cargo
permissions:
contents: write