Browse Source

fix reflex-web ci not having requirements.txt (#5296)

* fix reflex-web ci not having requirements.txt

* maybe?

* no active

* maybe?

* working-directory

* maybe?

* try compiling the pyproject into txt

* output file
Khaleel Al-Adhami 3 days ago
parent
commit
c513720ee6

+ 3 - 0
.github/workflows/check_outdated_dependencies.yml

@@ -54,6 +54,9 @@ jobs:
           repository: reflex-dev/reflex-web
           ref: main
           path: reflex-web
+      - name: Compile pyproject.toml into requirements.txt
+        working-directory: ./reflex-web
+        run: uv pip compile pyproject.toml --no-annotate --no-header --no-deps --output-file requirements.txt
       - name: Install Requirements for reflex-web
         working-directory: ./reflex-web
         run: uv pip install $(grep -ivE "reflex " requirements.txt)

+ 3 - 0
.github/workflows/integration_tests.yml

@@ -123,6 +123,9 @@ jobs:
           ref: main
           path: reflex-web
 
+      - name: Compile pyproject.toml into requirements.txt
+        working-directory: ./reflex-web
+        run: uv pip compile pyproject.toml --no-annotate --no-header --no-deps --output-file requirements.txt
       - name: Install Requirements for reflex-web
         working-directory: ./reflex-web
         run: uv pip install $(grep -ivE "reflex " requirements.txt)