test: gh secrets #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |