Skip to content

[pre-commit.ci] pre-commit autoupdate #570

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #570

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
all-dependencies:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[dev,complete]"
- name: Test with pytest
run: |
py.test tests -v --cov=rechunker --cov-config .coveragerc --cov-report term-missing
coverage xml
- name: Codecov
uses: codecov/codecov-action@v1
min-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Test with pytest
run: |
py.test tests -v