-
Notifications
You must be signed in to change notification settings - Fork 8
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
test with codecov #58
base: main
Are you sure you want to change the base?
Conversation
|
||
jobs: | ||
test: | ||
name: Test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better to name it "Code coverage"
README.md
Outdated
@@ -2,6 +2,7 @@ | |||
![Martos ci workflow](https://github.com/IvanArkhipov1999/Martos/actions/workflows/rust.yml/badge.svg) | |||
[![Version](https://img.shields.io/crates/v/martos.svg)](https://crates.io/crates/martos) | |||
[![Release](https://img.shields.io/github/v/release/IvanArkhipov1999/Martos)](https://github.com/IvanArkhipov1999/Martos/releases) | |||
[![codecov](https://codecov.io/gh/Azernem/Task-manager-and-timer/branch/main/graph/badge.svg?token=SLIHSUWHT2)](https://codecov.io/gh/Azernem/Task-manager-and-timer) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it path to another repository?
tests/integration_tests.rs
Outdated
// <copyright file="integration_tests.rs" company="NematMusaev"> | ||
// Copyright (c) PlaceholderCompany. All rights reserved. | ||
// </copyright> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, copyright in files is a good idea, but not this copyright.
// <copyright file="task_manager_tests.rs" company="NematMusaev"> | ||
// Copyright (c) PlaceholderCompany. All rights reserved. | ||
// </copyright> | ||
struct TaskDispatcher { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems a typo is here. And I don't understand, what this tests test.
@@ -0,0 +1,40 @@ | |||
pub struct Timer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here I don't understand, what are you testing
tests/unit_tests.rs
Outdated
@@ -1,3 +1,7 @@ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this unit tests?
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: nightly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand a lot from this ci, could you give a reference to documentation in answer, please? For example, I don't understand, why you need nightly toolchain.
No description provided.