-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
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/[email protected] | ||
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 | ||
|
||
- name: Install | ||
shell: bash -l {0} | ||
run: python setup.py install | ||
|
||
- name: Run Tests | ||
shell: bash -l {0} | ||
run: pytest partd --verbose |