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

Publish to coveralls. #6

Merged
merged 3 commits into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ jobs:

- name: Run tests and track code coverage
run: hatch run cov
- if: matrix.python-version == '3.9' && runner.os == 'Linux'
name: Publish Coverage to Coveralls
run: hatch run coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

run-container-matrix:
name: Container matrix on Linux
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pip install --upgrade earningscall

# Requirements

* Python 3.8+ (PyPI supported)
* Python 3.8+

## Get Transcript for a Single Quarter

Expand Down Expand Up @@ -110,4 +110,3 @@ from earningscall import get_sp500_companies
for company in get_sp500_companies():
print(f"{company.company_info} -- {company.company_info.sector} -- {company.company_info.industry}")
```

1 change: 1 addition & 0 deletions hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ dependencies = [
"coverage[toml]>=6.5",
"pytest",
"responses",
"coveralls",
]
[envs.default.scripts]
test = "pytest {args:tests}"
Expand Down
Loading