Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

recommend manual publishing (#1260) #1160

recommend manual publishing (#1260)

recommend manual publishing (#1260) #1160

Workflow file for this run

name: unit-tests
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.id }}
cancel-in-progress: true
env:
OPENAI_API_KEY: dummy
TELEMETRY_ENABLED: false
REFLEX_DEP: "git+https://github.com/reflex-dev/reflex@main"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
inputs:
reflex_dep:
description: "Reflex dependency (full specifier)"
permissions:
contents: read
defaults:
run:
shell: bash
jobs:
unit-tests:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.11.5", "3.12.0"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Requirements for reflex-web and reflex
run: |
pip install '${{ github.event.inputs.reflex_dep || env.REFLEX_DEP }}' -r requirements.txt pytest playwright pytest-playwright uvicorn
playwright install --with-deps
- name: Run unit tests
run: |
export PYTHONUNBUFFERED=1
reflex init
pytest tests