Skip to content

CI: Limit pip extras check to Build tag #49778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .github/workflows/package-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ on:
branches:
- main
- 1.5.x
types: [ labeled, opened, synchronize, reopened ]

permissions:
contents: read

jobs:
pip:
if: ${{ github.event.label.name == 'Build' || contains(github.event.pull_request.labels.*.name, 'Build') || github.event_name == 'push'}}
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -38,13 +40,6 @@ jobs:
with:
python-version: '3.8'

# Hacky patch to disable building cython extensions.
# This job should only check that the extras successfully install.
- name: Disable building ext_modules
run: |
sed -i '/ext_modules=/d' setup.py
shell: bash -el {0}

- name: Install required dependencies
run: |
python -m pip install --upgrade pip setuptools wheel python-dateutil pytz numpy cython
Expand Down