File: tests.yml

package info (click to toggle)
kerchunk 0.2.9-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 135,208 kB
  • sloc: python: 6,483; makefile: 32
file content (27 lines) | stat: -rw-r--r-- 616 bytes parent folder | download
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
name: Tests

on: [push, pull_request, workflow_dispatch]

jobs:
  build:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [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 . --no-deps
          pip list
      - name: Test with pytest
        shell: bash -l {0}
        run: |
          pytest -v --timeout 60 --cov