-
Notifications
You must be signed in to change notification settings - Fork 231
65 lines (56 loc) · 1.91 KB
/
integration_tests.yml
File metadata and controls
65 lines (56 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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@v6
with:
submodules: recursive
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v7
with:
python-version: "3.11"
activate-environment: true
- name: Install the project with latest reflex from main
run: |
uv sync --all-extras --dev \
--upgrade-package reflex \
--upgrade-package reflex-core \
--upgrade-package reflex-docgen \
--upgrade-package reflex-components-code \
--upgrade-package reflex-components-core \
--upgrade-package reflex-components-dataeditor \
--upgrade-package reflex-components-gridjs \
--upgrade-package reflex-components-lucide \
--upgrade-package reflex-components-markdown \
--upgrade-package reflex-components-moment \
--upgrade-package reflex-components-plotly \
--upgrade-package reflex-components-radix \
--upgrade-package reflex-components-react-player \
--upgrade-package reflex-components-recharts \
--upgrade-package reflex-components-sonner
- name: Install custom reflex version (if specified)
if: github.event.inputs.reflex_dep
run: uv pip install '${{ github.event.inputs.reflex_dep }}'
- name: Init Website for reflex-web
run: reflex init
- name: Export the website
run: reflex export