Skip to content

Commit bc6ad72

Browse files
authored
no sync after install for reflex-web (#5431)
* no sync after install for reflex-web * no-sync * use --active
1 parent e9cd7e0 commit bc6ad72

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/integration_tests.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,12 @@ jobs:
131131
run: uv pip install $(grep -ivE "reflex " requirements.txt)
132132
- name: Init Website for reflex-web
133133
working-directory: ./reflex-web
134-
run: uv run reflex init
134+
run: uv run --active --no-sync reflex init
135135
- name: Run Website and Check for errors
136136
run: |
137137
# Check that npm is home
138138
npm -v
139-
uv run bash scripts/integration.sh ./reflex-web prod
139+
uv run --active --no-sync bash scripts/integration.sh ./reflex-web prod
140140
141141
rx-shout-from-template:
142142
strategy:
@@ -187,14 +187,17 @@ jobs:
187187
repository: reflex-dev/reflex-web
188188
ref: main
189189
path: reflex-web
190+
- name: Compile pyproject.toml into requirements.txt
191+
working-directory: ./reflex-web
192+
run: uv pip compile pyproject.toml --no-annotate --no-header --no-deps --output-file requirements.txt
190193
- name: Install Requirements for reflex-web
191194
working-directory: ./reflex-web
192-
run: uv pip install -r requirements.txt
195+
run: uv pip install $(grep -ivE "reflex " requirements.txt)
193196
- name: Init Website for reflex-web
194197
working-directory: ./reflex-web
195-
run: uv run reflex init
198+
run: uv run --active --no-sync reflex init
196199
- name: Run Website and Check for errors
197200
run: |
198201
# Check that npm is home
199202
npm -v
200-
uv run bash scripts/integration.sh ./reflex-web prod
203+
uv run --active --no-sync bash scripts/integration.sh ./reflex-web prod

0 commit comments

Comments
 (0)