Skip to content

Commit

Permalink
Install setuptools before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arkq committed Nov 8, 2023
1 parent ea99799 commit d818bfb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools
- name: Run Tests
run: python setup.py pytest

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
python-version: '3.x'
- name: Generate Coverage Report
run: |
pip install coverage
python -m pip install --upgrade pip
pip install coverage setuptools
coverage run --include=src/* setup.py pytest
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_abs_path(pathname):
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only"
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
],
Expand Down

0 comments on commit d818bfb

Please sign in to comment.