소스 검색

Test Codspeed

Alek Petuskey 4 달 전
부모
커밋
00247a6880
2개의 변경된 파일970개의 추가작업 그리고 18개의 파일을 삭제
  1. 936 0
      .codspeed/results_1737341307184.json
  2. 34 18
      .github/workflows/unit_tests.yml

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 936 - 0
.codspeed/results_1737341307184.json


+ 34 - 18
.github/workflows/unit_tests.yml

@@ -64,25 +64,35 @@ jobs:
       - uses: actions/checkout@v4
       - uses: ./.github/actions/setup_build_env
         with:
+          token: ${{ secrets.CODSPEED_TOKEN }}
           python-version: ${{ matrix.python-version }}
           run-poetry-install: true
           create-venv-at-path: .venv
       - name: Run unit tests
-        run: |
-          export PYTHONUNBUFFERED=1
-          poetry run pytest tests/units --cov --no-cov-on-fail --cov-report=
+        uses: CodSpeedHQ/action@v3
+        with:
+          token: ${{ secrets.CODSPEED_TOKEN }}
+          run: |
+            export PYTHONUNBUFFERED=1
+            poetry run pytest tests/units --cov --no-cov-on-fail --cov-report= --codspeed
       - name: Run unit tests w/ redis
         if: ${{ matrix.os == 'ubuntu-latest' }}
-        run: |
-          export PYTHONUNBUFFERED=1
-          export REDIS_URL=redis://localhost:6379
-          poetry run pytest tests/units --cov --no-cov-on-fail --cov-report=
+        uses: CodSpeedHQ/action@v3
+        with:
+          token: ${{ secrets.CODSPEED_TOKEN }}
+          run: |
+            export PYTHONUNBUFFERED=1
+            export REDIS_URL=redis://localhost:6379
+            poetry run pytest tests/units --cov --no-cov-on-fail --cov-report= --codspeed
       # Change to explicitly install v1 when reflex-hosting-cli is compatible with v2
       - name: Run unit tests w/ pydantic v1
-        run: |
-          export PYTHONUNBUFFERED=1
-          poetry run uv pip install "pydantic~=1.10"
-          poetry run pytest tests/units --cov --no-cov-on-fail --cov-report=
+        uses: CodSpeedHQ/action@v3
+        with:
+          token: ${{ secrets.CODSPEED_TOKEN }}
+          run: |
+            export PYTHONUNBUFFERED=1
+            poetry run uv pip install "pydantic~=1.10"
+            poetry run pytest tests/units --cov --no-cov-on-fail --cov-report= --codspeed
       - name: Generate coverage report
         run: poetry run coverage html
 
@@ -103,11 +113,17 @@ jobs:
           run-poetry-install: true
           create-venv-at-path: .venv
       - name: Run unit tests
-        run: |
-          export PYTHONUNBUFFERED=1
-          poetry run pytest tests/units --cov --no-cov-on-fail --cov-report=
+        uses: CodSpeedHQ/action@v3
+        with:
+          token: ${{ secrets.CODSPEED_TOKEN }}
+          run: |
+            export PYTHONUNBUFFERED=1
+            poetry run pytest tests/units --cov --no-cov-on-fail --cov-report= --codspeed
       - name: Run unit tests w/ pydantic v1
-        run: |
-          export PYTHONUNBUFFERED=1
-          poetry run uv pip install "pydantic~=1.10"
-          poetry run pytest tests/units --cov --no-cov-on-fail --cov-report=
+        uses: CodSpeedHQ/action@v3
+        with:
+          token: ${{ secrets.CODSPEED_TOKEN }}
+          run: |
+            export PYTHONUNBUFFERED=1
+            poetry run uv pip install "pydantic~=1.10"
+            poetry run pytest tests/units --cov --no-cov-on-fail --cov-report= --codspeed

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.