Skip to content

Add DataFrame.parallel_map and Dataframe.parallel_agg #98

Add DataFrame.parallel_map and Dataframe.parallel_agg

Add DataFrame.parallel_map and Dataframe.parallel_agg #98

Workflow file for this run

name: PyTest
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
name: pytest - OS ${{ matrix.os }} - Python ${{ matrix.python-version }} - pandas ${{ matrix.pandas-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-20.04", "macos-latest", "windows-latest"]
# Remove Python 3.7.9 on 27 Jun 2023: https://endoflife.date/python
python-version: ["3.9.20", "3.10.15","3.11.11","3.12.8","3.13.1"]
pandas-version: ["2.0.3","2.1.4" , ""]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Replace with specific pandas version (${{ matrix.pandas-version }})
if: ${{ matrix.pandas-version }}
run: pip install pandas==${{ matrix.pandas-version }}
- name: Test with pytest
run: |
pytest --cov=pandarallel
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
build:

Check failure on line 42 in .github/workflows/run_tests.yml

View workflow run for this annotation

GitHub Actions / PyTest

Invalid workflow file

The workflow is not valid. .github/workflows/run_tests.yml (Line: 42, Col: 1): Unexpected value 'build'
name: pytest - OS ${{ matrix.os }} - Python ${{ matrix.python-version }} - pandas ${{ matrix.pandas-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-20.04", "macos-latest", "windows-latest"]
# Remove Python 3.7.9 on 27 Jun 2023: https://endoflife.date/python
python-version: ["3.9.20", "3.10.15","3.11.11","3.12.8","3.13.1"]
pandas-version: ["1.2.5", "1.3.5", "1.4.3"]
exclude:
# Pandas 1.2.5 has to be fully rebuilt with Python >= 3.10.5 (taking > 10 min)
- python-version: "3.10.8"
pandas-version: "1.2.5"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Replace with specific pandas version (${{ matrix.pandas-version }})
if: ${{ matrix.pandas-version }}
run: pip install pandas==${{ matrix.pandas-version }} numpy<2.0
- name: Test with pytest
run: |
pytest --cov=pandarallel
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3