Skip to content

test: gh secrets

test: gh secrets #1

Workflow file for this run

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)