소스 검색

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 일 전
부모
커밋
c513720ee6
2개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      .github/workflows/check_outdated_dependencies.yml
  2. 3 0
      .github/workflows/integration_tests.yml

+ 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)