Skip to content

RyanSamii/awesomecalculator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AWESOME CALCULATOR

Awesome Calculator CI build

What is this project about?

It's a very basic project that shows how to set up a python package that contain a really basic calculator service.

It uses GitHub actions to fire a CI build that run the tests and generate the package with the calculator

The package has been created following this tutorial

Python version:

3.7

Folder structure

  1. /.github/workflows This folder will contain the GitHub workflows template

  2. /src This folder will contain the source code of the awesome calculator package 😄

Unit Tests

This project uses unittest as the testing framework, and coverage.py for generating code coverage reports.

How to run the unit tests

Inside the /src folder, just run this command:

python -m unittest -v

How to view the coverage report

Inside the /src folder, just run this command:

coverage run -m unittest

and to report on the results:

coverage report

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%