Skip to content

replace comment action with upload artifact #80

replace comment action with upload artifact

replace comment action with upload artifact #80

Workflow file for this run

name: Integration Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Run Integration Tests
runs-on: ubuntu-latest
environment: testing
env:
HOLESKY_WS_URL: ${{ secrets.HOLESKY_WS_URL }}
HOLESKY_HTTP_URL: ${{ secrets.HOLESKY_HTTP_URL }}
FIREBLOCKS_API_KEY: ${{ secrets.FIREBLOCKS_API_KEY }}
FIREBLOCKS_API_URL: ${{ secrets.FIREBLOCKS_API_URL }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Create private key file
run: echo "${{ secrets.FIREBLOCKS_PRIVATE_KEY }}" > fireblocks_secret.key
- name: Set environment variable for private key path
run: echo "FIREBLOCKS_PRIVATE_KEY_PATH=$(pwd)/fireblocks_secret.key" >> $GITHUB_ENV
- name: Install nightly Rust
run: rustup toolchain install nightly
- name: Install rustfmt for nightly
run: rustup component add rustfmt --toolchain nightly
- name: Install testing tools
uses: taiki-e/install-action@v2
with:
tool: cargo-llvm-cov
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: clippy
uses: dtolnay/rust-toolchain@clippy
- name: docker
uses: docker-practice/actions-setup-docker@master
- name: Run tests and generate code coverage
run: make coverage
- name: Post coverage summary
run: lcov --summary lcov.info | tee coverage-summary.txt
- name: Upload coverage report
uses: actions/upload-artifact@v3

Check failure on line 64 in .github/workflows/integration.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/integration.yml

Invalid workflow file

You have an error in your yaml syntax on line 64
with:
name: coverage-summary
path: ./coverage-summary.txt