diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index b09703b..2b187b8 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -18,6 +18,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 @@ -37,12 +39,17 @@ jobs: - name: Test with pytest run: | - pytest --cov=dgNova --cov-report=xml + pytest --cov=dgNova --cov-report=xml --cov-report=term-missing - - name: Upload coverage reports to Codecov + - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./coverage.xml + flags: unittests + name: codecov-umbrella + fail_ci_if_error: true + verbose: true publish: needs: build diff --git a/LICENSE b/LICENSE index ab264df..67452b4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 Nadim Khan +Copyright (c) 2025 Nadim Khan Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 6ad015f..fd7d061 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ -[![Logo](documentation/logo.svg)](https://nfornadimkhan.github.io/dgNova/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Python CI](https://github.com/nfornadimkhan/dgNova/actions/workflows/python-ci.yml/badge.svg)](https://github.com/nfornadimkhan/dgNova/actions/workflows/python-ci.yml) [![codecov](https://codecov.io/gh/nfornadimkhan/dgNova/branch/main/graph/badge.svg)](https://codecov.io/gh/nfornadimkhan/dgNova) [![PyPI version](https://badge.fury.io/py/dgNova.svg)](https://badge.fury.io/py/dgNova) # dgNova (Designs Nova) - +[![Logo](documentation/logo.svg)](https://nfornadimkhan.github.io/dgNova/) A Python library for Statistical Analysis and Simulations of Plant Breeding Experiments, designed specifically for researchers and students who are new to programming but want to understand field design concepts through practical implementation. ![sample](https://github.com/user-attachments/assets/03bc5ccc-201d-414e-88f9-ba4a7a3eedb9) @@ -43,7 +42,6 @@ Future implementations will include: - Mating Design - Fieldbook Generation - Spatial Analysis -- ## Installation diff --git a/pyproject.toml b/pyproject.toml index f221aa8..eecc287 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "dgNova" -version = "0.1.0" +version = "1.0.0" description = "Statistical Analysis and Simulations for Plant Breeding Experiments" readme = "README.md" requires-python = ">=3.7"