Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ci codecov #8

Merged
merged 19 commits into from
Aug 24, 2021
Merged
25 changes: 23 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: CI
on: [push, pull_request]

jobs:

lint:
name: Lint
runs-on: ubuntu-latest
Expand All @@ -15,6 +14,7 @@ jobs:
toolchain: nightly
override: true
components: clippy, rustfmt
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: fmt
Expand All @@ -23,7 +23,6 @@ jobs:
with:
command: clippy
args: --no-deps -- -D warnings

test:
name: Test
runs-on: ubuntu-latest
Expand All @@ -35,7 +34,29 @@ jobs:
toolchain: nightly
override: true
components: rustfmt
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: test

# code-coverage:
# name: Code coverage
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# # the action needs a nightly toolchain with llvm-tools
# - uses: actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: nightly
# components: llvm-tools-preview, rustfmt
#
# # runs cargo with defaults flags, using the default `lcov` output
# - uses: Swatinem/fucov@v1
#
# - uses: Swatinem/rust-cache@v1
#
# # afterwards, upload the report to codecov
# - uses: codecov/codecov-action@v1
# with:
# directory: coverage
2 changes: 1 addition & 1 deletion convert/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "convert"
version = "0.1.0"
version = "1.0.0"
edition = "2018"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down