Skip to content

Commit

Permalink
feat: update github actions to support new requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
vorel99 committed Jun 7, 2024
1 parent 4df98f1 commit 39a21e2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 22 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ jobs:
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install -r requirements-test.txt
python -m pip install ".[dev,test]"
- name: Install the package
run: make install
Expand Down Expand Up @@ -103,10 +101,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install -r requirements-test.txt
python -m pip install -r requirements-docs.txt
python -m pip install ".[dev,test,docs]"
- name: Install the package
run: make install
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release-deprecated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install -r requirements-test.txt
python -m pip install ".[dev,test]"
- name: Install
run: make install
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install -r requirements-dev.txt
python -m pip install -r requirements-test.txt
python -m pip install ".[dev,test]"
- name: Install
run: make install
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ jobs:
${{ runner.os }}-${{ matrix.pandas }}-pip-
- run: |
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt "${{ matrix.pandas }}" "${{ matrix.numpy }}"
pip install -r requirements-test.txt
pip install ".[test]" "${{ matrix.pandas }}" "${{ matrix.numpy }}"
- run: make install

- run: make test
Expand Down Expand Up @@ -125,8 +124,7 @@ jobs:
${{ runner.os }}-${{ matrix.pandas }}-pip-
- run: |
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt "${{ matrix.pandas }}" "${{ matrix.numpy }}"
pip install -r requirements-test.txt
pip install ".[test]" "${{ matrix.pandas }}" "${{ matrix.numpy }}"
- run: make install

- run: make test_cov
Expand All @@ -140,8 +138,7 @@ jobs:
${{ runner.os }}-${{ matrix.pandas }}-pip-
- run: |
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt "${{ matrix.pandas }}" "${{ matrix.numpy }}"
pip install -r requirements-test.txt
pip install ".[test]" "${{ matrix.pandas }}" "${{ matrix.numpy }}"
- run: make install
- run: make test_cov
- run: codecov -F py${{ matrix.python-version }}-${{ matrix.os }}-${{ matrix.pandas }}-${{ matrix.numpy }}
Expand Down Expand Up @@ -198,14 +195,13 @@ jobs:
- run: |
pip install --upgrade pip setuptools wheel
pip install pytest-spark>=0.6.0 pyarrow==1.0.1 pyspark=="${{ matrix.spark }}"
pip install -r requirements.txt
pip install -r requirements-test.txt
pip install ".[test]"
pip install "${{ matrix.pandas }}" "${{ matrix.numpy }}"
- if: ${{ matrix.spark != '3.0.1' }}
run: echo "ARROW_PRE_0_15_IPC_FORMAT=1" >> $GITHUB_ENV
- run: echo "SPARK_LOCAL_IP=127.0.0.1" >> $GITHUB_ENV
- run: make install
- run: make install-spark-ci
- run: pip install -r requirements-spark.txt # Make sure the proper version of pandas is install after everything
- run: pip install ".[spark]" # Make sure the proper version of pandas is install after everything
- run: make test_spark

0 comments on commit 39a21e2

Please sign in to comment.