Skip to content

Bump codecov/codecov-action from 3.1.2 to 3.1.3 (#47) #138

Bump codecov/codecov-action from 3.1.2 to 3.1.3 (#47)

Bump codecov/codecov-action from 3.1.2 to 3.1.3 (#47) #138

Workflow file for this run

name: Python package
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- name: Install dependencies != 3.11
if: ${{ matrix.python-version < '3.11' }}
run: |
pip install .[testing,ray]
- name: Install dependencies >= 3.11
if: ${{ matrix.python-version >= '3.11' }}
run: |
pip install .[testing]
- name: Test with pytest
run: |
pytest
- name: Upload coverage report
uses: codecov/codecov-action@v3.1.3