Skip to content

Commit

Permalink
Merge pull request #191 from cwendt94/FixHocketDepAndTests
Browse files Browse the repository at this point in the history
Fix Hockey Dependencies and Tests
  • Loading branch information
cwendt94 authored Mar 26, 2021
2 parents d87c80b + 126fcf3 commit ae7945c
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/espn-api-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
python-version: '3.6'
- name: Install dependencies
run: python setup.py install
- name: Test integration
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/espn-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
python-version: '3.6'
- name: Install dependencies
run: python setup.py install
- name: Test with nosetests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: "3.x"
python-version: "3.6"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
Empty file added espn_api/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
version='0.12.1',
author='Christian Wendt',
description='ESPN API',
install_requires=['requests>=2.0.0,<3.0.0', 'pandas>=0.11.0,<1.1.1'],
install_requires=['requests>=2.0.0,<3.0.0', 'pandas>=0.11.0,<=0.25.3', 'numpy>=1.15,<=1.17.0'],
setup_requires=['nose>=1.0'],
test_suite='nose.collector',
tests_require=['nose', 'requests_mock', 'coverage'],
Expand Down
Empty file added tests/hockey/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion tests/hockey/test_league.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from espn_api.hockey import League

#Load League Data
jsonFile = open("data.json", "r+")
jsonFile = open('tests/hockey/data.json', "r+")
data = json.load(jsonFile)
jsonFile.close()

Expand Down

0 comments on commit ae7945c

Please sign in to comment.