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

test with codecov #58

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

test with codecov #58

wants to merge 8 commits into from

Conversation

Azernem
Copy link

@Azernem Azernem commented Jul 26, 2024

No description provided.


jobs:
test:
name: Test
Copy link
Owner

@IvanArkhipov1999 IvanArkhipov1999 Jul 29, 2024

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)
Copy link
Owner

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?

Comment on lines 1 to 3
// <copyright file="integration_tests.rs" company="NematMusaev">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
Copy link
Owner

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 {
Copy link
Owner

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 {
Copy link
Owner

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

@@ -1,3 +1,7 @@

Copy link
Owner

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants