From d19e656d07a455f8fe9372b117fd2a0e5b7b2b94 Mon Sep 17 00:00:00 2001 From: Rigidity Date: Tue, 27 Aug 2024 12:25:51 -0400 Subject: [PATCH] Upload separate --- .github/workflows/build-wheels.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 90a33ee4e..1b4e748c5 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -295,15 +295,22 @@ jobs: cargo llvm-cov clean --workspace cargo test --workspace --all-features --release maturin develop --release -m wheel/Cargo.toml - pytest --cov=chia_rs tests --cov-report xml - cargo llvm-cov report --release --lcov --output-path coverage.lcov + pytest --cov=chia_rs tests --cov-report lcov + cargo llvm-cov report --release --lcov --output-path rust.lcov - - name: Upload to Coveralls + - name: Upload Rust to Coveralls uses: coverallsapp/github-action@v2 env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} with: - files: ./coverage.xml ./coverage.lcov + path-to-lcov: ./rust.lcov + + - name: Upload Python to Coveralls + uses: coverallsapp/github-action@v2 + env: + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + with: + path-to-lcov: ./coverage.lcov upload: name: Upload to PyPI (${{ matrix.os.name }} ${{ matrix.python.major-dot-minor }} ${{ matrix.arch.name }})