Skip to content

Merge branch 'main' into Audit-existing-example-contracts-for-Soroban… #2

Merge branch 'main' into Audit-existing-example-contracts-for-Soroban…

Merge branch 'main' into Audit-existing-example-contracts-for-Soroban… #2

Workflow file for this run

name: E2E Tests & Coverage

Check failure on line 1 in .github/workflows/e2e-coverage.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/e2e-coverage.yml

Invalid workflow file

(Line: 36, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory, (Line: 42, Col: 9): There's not enough info to determine what you meant. Add one of these properties: run, shell, uses, with, working-directory
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Run Tests and Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Run Build
- name: Install tarpaulin
run: cargo install cargo-tarpaulin || true
- name: Generate Coverage Report
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: cobertura.xml
fail_ci_if_error: false