Skip to content

Add user-friendly exception if dataframe exceeds max config of Pandas Styler #1954

Add user-friendly exception if dataframe exceeds max config of Pandas Styler

Add user-friendly exception if dataframe exceeds max config of Pandas Styler #1954

name: Ensure Relative Imports Exist in Prod @streamlit/lib
on:
push:
branches:
- "develop"
- "feature/**"
pull_request:
types: [opened, synchronize, reopened]
# Allows workflow to be called from other workflows
workflow_call:
inputs:
ref:
required: true
type: string
# Avoid duplicate workflows on same branch
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-ensure-relative-imports
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
defaults:
run:
shell: bash --login -eo pipefail {0}
steps:
- name: Checkout Streamlit code
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
persist-credentials: false
submodules: "recursive"
fetch-depth: 2
- name: Setup virtual env
uses: ./.github/actions/make_init
- name: Run make develop
run: make develop
- name: Run make protobuf
run: make protobuf
- name: Run make frontend-lib-prod
run: make frontend-lib-prod
- name: Ensure ensure relative imports exist in the @streamlit/lib/dist folder
run: make ensure-relative-imports