-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,15 +60,19 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- name: Install rustup | ||
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal | ||
- name: Install nightly rust | ||
- name: Install rust | ||
run: | | ||
rustup install nightly | ||
rustup default nightly | ||
- name: Install cargo tarpaulin | ||
run: RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install --force cargo-tarpaulin | ||
- name: Run cargo tarpaulin | ||
# TODO: Hook this up to coveralls, so we actually get coverage reports. | ||
run: cargo tarpaulin --features all --verbose # --ciserver travis-ci --coveralls "$TRAVIS_JOB_ID"; | ||
rustup install stable | ||
rustup default stable | ||
- name: Run cargo-tarpaulin | ||
uses: actions-rs/[email protected] | ||
with: | ||
args: '--features all --ignore-tests --out Lcov' | ||
- name: Upload to Coveralls | ||
uses: coverallsapp/github-action@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
path-to-lcov: './lcov.info' | ||
|
||
doc: | ||
runs-on: ubuntu-latest | ||
|