Skip to content

Merge pull request #34 from tamada/bugs/panicked_in_specifying_dir #77

Merge pull request #34 from tamada/bugs/panicked_in_specifying_dir

Merge pull request #34 from tamada/bugs/panicked_in_specifying_dir #77

Workflow file for this run

name: build
on:
push:
branches:
- "**"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup rust
run: |
rustup update stable
- name: build
run: cargo build --release
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
if: matrix.os == 'ubuntu-latest'
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path coverage.lcov
if: matrix.os == 'ubuntu-latest'
- name: coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov
if: matrix.os == 'ubuntu-latest'