-
Notifications
You must be signed in to change notification settings - Fork 15
30 lines (28 loc) · 951 Bytes
/
a_test.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
name: Task - Rust Tests & Coverage
on: [push]
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Debug - Check Secret 1
env:
SECRET_CHECK: ${{ secrets.API }}
run: |
if [ -n "$SECRET_CHECK" ]; then
echo "EthereumRpcUrl secret is set"
echo "Length of EthereumRpcUrl: ${#SECRET_CHECK}"
else
echo "EthereumRpcUrl secret is not set"
fi
- name: Run llvm-cov
env:
ETHEREUM_BLAST_RPC_URL: ${{ secrets.API }}
run: |
if [ -n "$ETHEREUM_BLAST_RPC_URL" ]; then
echo "ETHEREUM_BLAST_RPC_URL is set"
echo "Length of ETHEREUM_BLAST_RPC_URL: ${#ETHEREUM_BLAST_RPC_URL}"
cargo llvm-cov nextest --release --lcov --output-path lcov.info --test-threads=1
else
echo "ETHEREUM_BLAST_RPC_URL is not set"
fi
# ... (remaining steps stay the same)