Commit 73e5a19
authored
Skip WASM verification for non-example contracts (#2436)
### What
Gate the WASM discovery and verification steps (interface, env-meta,
meta, spec) behind a `startsWith(matrix.dir, 'examples/')` condition in
the OpenZeppelin contracts CI workflow.
### Why
The WASM verification steps assume the contract produces a discoverable
`.wasm` artifact with a Soroban contract spec, which holds for soroban
example contracts but not for the packages in the OpenZeppelin contracts
repo. Running these steps for non-example directories causes failures
that don't reflect real issues with those contracts.1 parent 505fbbb commit 73e5a19
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| 87 | + | |
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
| |||
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
| 96 | + | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| |||
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| 105 | + | |
101 | 106 | | |
0 commit comments