-
-
Notifications
You must be signed in to change notification settings - Fork 33
42 lines (34 loc) · 1.14 KB
/
upstream.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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