Skip to content

Commit

Permalink
Merge pull request #35 from CDJellen/user/cjellen/poetry-deps-managemnet
Browse files Browse the repository at this point in the history
Update `numpy` version for python 3.7 and pandas 1.5.3 compatibility
  • Loading branch information
CDJellen authored Jul 7, 2024
2 parents 7dc3bcf + f992ef8 commit 1b2f855
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 64 deletions.
22 changes: 13 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.7", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -28,17 +28,20 @@ jobs:
- name: Setup dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements_dev.txt
python -m pytest
pip install poetry
poetry config virtualenvs.create false
poetry install
- name: Run tests
run: |
poetry run python -m pytest
Coverage:
timeout-minutes: 30
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.10"]
python-version: ["3.11"]
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -50,11 +53,12 @@ jobs:
- name: Setup dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements_dev.txt
pip install poetry
poetry config virtualenvs.create false
poetry install
- name: Generate coverage report
run: |
coverage run --source ndbc_api -m pytest --run-slow --run-private tests/
coveralls --service=github
poetry run coverage run --source ndbc_api -m pytest --run-slow --run-private tests/
poetry run coveralls --service=github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
56 changes: 1 addition & 55 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ readme = "README.md"
python = ">=3.8,<3.13"
requests = ">=2.10.0"
pandas = ">=1.5.3"
numpy = "^1.24.3"
beautifulsoup4 = "~4"
html5lib = "^1.1"

Expand Down

0 comments on commit 1b2f855

Please sign in to comment.