Skip to content

Commit

Permalink
Upload separate
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Aug 27, 2024
1 parent b748c3f commit d19e656
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }})
Expand Down

0 comments on commit d19e656

Please sign in to comment.