Skip to content

Commit

Permalink
Terceira tentativa
Browse files Browse the repository at this point in the history
  • Loading branch information
laistdomiciano committed Jan 17, 2025
1 parent 3d7cd30 commit 78f22a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Poetry Setup
uses: snok/install-poetry@v1
- name: Install Dependencies
run: poetry install
- name: Generate Report
run: |
pip install coverage num2words holidays
coverage run -m unittest discover tests/
poetry run coverage run -m unittest discover -s tests
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ classifiers = [
python = "^3.8.1"
holidays = "^0.58"
num2words = "0.5.13"
coverage = "^7.2.7"

[tool.poetry.group.test.dependencies]
coverage = "^7.2.7"
Expand Down

0 comments on commit 78f22a5

Please sign in to comment.