Skip to content

Commit

Permalink
Merge pull request #8 from MyK00L/ci-codecov
Browse files Browse the repository at this point in the history
Ci codecov
  • Loading branch information
MyK00L authored Aug 24, 2021
2 parents 6b9fca0 + ffc5e2f commit 40e70c4
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
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

0 comments on commit 40e70c4

Please sign in to comment.