update useage compute page with examples (#1206) #2374
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: integration-tests | |
env: | |
TELEMETRY_ENABLED: false | |
NODE_OPTIONS: '--max_old_space_size=8192' | |
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: | |
reflex-web: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: '3.11' | |
- name: Install Requirements for reflex-web and reflex | |
run: pip install '${{ github.event.inputs.reflex_dep || env.REFLEX_DEP }}' -r requirements.txt | |
- name: Init Website for reflex-web | |
run: reflex init | |
- name: Export the website | |
run: reflex export |