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

Update numpy version for python 3.7 and pandas 1.5.3 compatibility #35

Merged
merged 4 commits into from
Jul 7, 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
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
Loading