Skip to content

Commit

Permalink
added link to readthedocs and hopefully fixed gha
Browse files Browse the repository at this point in the history
  • Loading branch information
mpecchi committed Feb 28, 2024
1 parent 1ae3886 commit f4d8910
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Generate Badge
run: |
# Example: Generate badge based on test coverage percentage
COVERAGE=$(pytest --cov-report=term | grep -oP '(?<=<report.*line-rate=")[^"]*')
COVERAGE=$(pytest --cov-report=term | grep -oP '(?<=TOTAL\s+)[^\s%]+')
curl "https://img.shields.io/badge/coverage-$COVERAGE-green.svg" > coverage.svg
- name: Upload Badge
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
long_description=readmecontent, # This will read your README file to use as the long description
long_description_content_type='text/markdown', # This is the format of your README file
url='https://github.com/mpecchi/gcms_data_analysis/tree/main', # Replace with the URL of your project
project_urls={
'Documentation': 'https://gcms-data-analysis.readthedocs.io/en/latest/',
},
packages=find_packages(), # This function will find all the packages in your project
install_requires=[
'pathlib', 'numpy', 'pandas', 'matplotlib', 'seaborn', 'ele', 'pubchempy',
Expand Down

0 comments on commit f4d8910

Please sign in to comment.