Skip to content

Dev 3544 update 1.27.1 #6

Dev 3544 update 1.27.1

Dev 3544 update 1.27.1 #6

name: Python Prod Deps Smoke
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 }}-py_prod
cancel-in-progress: true
jobs:
smoke_test:
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: Set Python version vars
uses: ./.github/actions/build_info
- name: Set up Python ${{ env.PYTHON_MAX_VERSION }}
uses: actions/setup-python@v4
with:
python-version: "${{ env.PYTHON_MAX_VERSION }}"
- name: Setup virtual env
uses: ./.github/actions/make_init
with:
use_cached_venv: "false"
- name: Run make develop
run: make develop
- name: Run CLI smoke tests
run: make cli-smoke-tests