| 1 |
name: Tests |
| 2 |
|
| 3 |
on: [push, pull_request, workflow_dispatch] |
| 4 |
|
| 5 |
jobs: |
| 6 |
build: |
| 7 |
|
| 8 |
runs-on: ubuntu-latest |
| 9 |
strategy: |
| 10 |
matrix: |
| 11 |
python-version: [311, 312] |
| 12 |
|
| 13 |
steps: |
| 14 |
- uses: actions/checkout@v4 |
| 15 |
- name: Setup conda |
| 16 |
uses: conda-incubator/setup-miniconda@v3 |
| 17 |
with: |
| 18 |
environment-file: ci/environment-py${{matrix.python-version}}.yml |
| 19 |
- name: Install kerchunk |
| 20 |
shell: bash -l {0} |
| 21 |
run: | |
| 22 |
pip install -e . --no-deps |
| 23 |
pip list |
| 24 |
- name: Test with pytest |
| 25 |
shell: bash -l {0} |
| 26 |
run: | |
| 27 |
pytest -v --timeout 60 --cov |