Skip to content

Fix e2e test

Fix e2e test #27

Workflow file for this run

name: Python Unit Tests
on:
push:
branches:
- "main"
pull_request:
types: [opened, synchronize, reopened]
workflow_call:
inputs:
ref:
required: true
type: string
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-python-tests
cancel-in-progress: true
jobs:
python-tests:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout streamlit-pivot-table code
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
persist-credentials: false
submodules: "recursive"
fetch-depth: 2
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install Python test dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[devel,with-streamlit]"
- name: Run Python unit tests
run: |
python -m pytest tests/