Merge pull request #507 from martindurant/ci #871
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
name: Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [310, 311, 312] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup conda | |
uses: conda-incubator/setup-miniconda@v3 | |
with: | |
environment-file: ci/environment-py${{matrix.python-version}}.yml | |
- name: Install kerchunk | |
shell: bash -l {0} | |
run: | | |
pip install -e . | |
- name: Test with pytest | |
shell: bash -l {0} | |
run: | | |
pytest -v --cov |