Skip to content
Open
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
42 changes: 42 additions & 0 deletions .github/workflows/upstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI

on: [push, pull_request]

jobs:
test:
name: Upstream
runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- name: Checkout source
uses: actions/checkout@v2

- name: Setup Conda Environment
uses: conda-incubator/setup-miniconda@v2.2.0
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
channel-priority: strict
python-version: "3.11"
auto-activate-base: false

- name: Install dependencies
shell: bash -l {0}
run: mamba install pytest locket numpy toolz pandas blosc pyzmq pyarrow -c conda-forge

- name: Install nightly deps
shell: bash -l {0}
run: |
pip install --pre -U --no-deps --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy pandas
pip install --pre -U --no-deps --index-url https://pypi.fury.io/arrow-nightlies/ pyarrow

- name: Install
shell: bash -l {0}
run: python setup.py install

- name: Run Tests
shell: bash -l {0}
run: pytest partd --verbose
7 changes: 6 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,9 @@ parentdir_prefix = partd-

[tool:pytest]
addopts = --strict-markers --strict-config
filterwarnings = error
filterwarnings =
error
ignore:numpy\.core.* is deprecated and has been renamed to numpy\._core\.*:DeprecationWarning:pandas
ignore:numpy\.core.* is deprecated and has been renamed to numpy\._core\.*:DeprecationWarning:pyarrow
ignore:create_block_manager_from_blocks is deprecated and will be removed in a future version. Use public APIs instead.:DeprecationWarning
ignore:Passing a BlockManager to DataFrame is deprecated and will raise in a future version. Use public APIs instead.:DeprecationWarning