Skip to content

Commit

Permalink
mod build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoli committed Aug 1, 2024
1 parent 20f8e3d commit 5126295
Showing 1 changed file with 51 additions and 51 deletions.
102 changes: 51 additions & 51 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,60 +9,60 @@ on:
- v*

jobs:
# test:
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# python-version: [3.8]
# os: [ubuntu-latest] #ubuntu-latest [macos-latest, ] #
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.8]
os: [ubuntu-latest] #ubuntu-latest [macos-latest, ] #

# env:
# PYTHON_VERSION: ${{ matrix.python-version }}
# SPARK_VERSION: ${{ matrix.spark-version }}
# PANDAS_VERSION: ${{ matrix.pandas-version }}
# PYARROW_VERSION: ${{ matrix.pyarrow-version }}
# NUMPY_VERSION: ${{ matrix.numpy-version }}
# DEFAULT_INDEX_TYPE: ${{ matrix.default-index-type }}
# KOALAS_TESTING: 1
# SPARK_LOCAL_IP: 127.0.0.1
# # DISPLAY=0.0 does not work in Github Actions with Python 3.5. Here we work around with xvfb-run
# PYTHON_EXECUTABLE: xvfb-run python
# GITHUB_OAUTH_KEY: ${{ secrets.GITHUB_TOKEN }}
env:
PYTHON_VERSION: ${{ matrix.python-version }}
SPARK_VERSION: ${{ matrix.spark-version }}
PANDAS_VERSION: ${{ matrix.pandas-version }}
PYARROW_VERSION: ${{ matrix.pyarrow-version }}
NUMPY_VERSION: ${{ matrix.numpy-version }}
DEFAULT_INDEX_TYPE: ${{ matrix.default-index-type }}
KOALAS_TESTING: 1
SPARK_LOCAL_IP: 127.0.0.1
# DISPLAY=0.0 does not work in Github Actions with Python 3.5. Here we work around with xvfb-run
PYTHON_EXECUTABLE: xvfb-run python
GITHUB_OAUTH_KEY: ${{ secrets.GITHUB_TOKEN }}

# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-java@v1
# with:
# java-version: 1.8
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v2
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install libomp
# run: |
# if [ "$RUNNER_OS" == "macOS" ]; then
# brew install libomp
# fi
# shell: bash
# - name: install dependencies
# run: |
# pip install --upgrade pip
# pip install certifi
# pip install tox tox-wheel tox-gh-actions
# # pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org -r requirements_tox.txt
# # python setup.py build_ext --inplace
# # python setup.py install
# pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org -r requirements.txt
# pip install -e ."[dev]"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install libomp
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
brew install libomp
fi
shell: bash
# - name: install dependencies
# run: |
# pip install --upgrade pip
# pip install certifi
# pip install tox tox-wheel tox-gh-actions
# # pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org -r requirements_tox.txt
# # python setup.py build_ext --inplace
# # python setup.py install
# pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org -r requirements.txt
# pip install -e ."[dev]"

# - name: tests
# run: |
# coverage run --omit gators/*/test*.py -m pytest gators && coverage report && coverage xml
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v2
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: coverage.xml
# - name: tests
# run: |
# coverage run --omit gators/*/test*.py -m pytest gators && coverage report && coverage xml
# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v2
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# file: coverage.xml

build_wheels:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 5126295

Please sign in to comment.