Test Codspeed
This commit is contained in:
parent
4da32a122b
commit
00247a6880
1143
.codspeed/results_1737341307184.json
Normal file
1143
.codspeed/results_1737341307184.json
Normal file
File diff suppressed because it is too large
Load Diff
52
.github/workflows/unit_tests.yml
vendored
52
.github/workflows/unit_tests.yml
vendored
@ -64,25 +64,35 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: ./.github/actions/setup_build_env
|
- uses: ./.github/actions/setup_build_env
|
||||||
with:
|
with:
|
||||||
|
token: ${{ secrets.CODSPEED_TOKEN }}
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
run-poetry-install: true
|
run-poetry-install: true
|
||||||
create-venv-at-path: .venv
|
create-venv-at-path: .venv
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: |
|
uses: CodSpeedHQ/action@v3
|
||||||
export PYTHONUNBUFFERED=1
|
with:
|
||||||
poetry run pytest tests/units --cov --no-cov-on-fail --cov-report=
|
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
|
- name: Run unit tests w/ redis
|
||||||
if: ${{ matrix.os == 'ubuntu-latest' }}
|
if: ${{ matrix.os == 'ubuntu-latest' }}
|
||||||
run: |
|
uses: CodSpeedHQ/action@v3
|
||||||
export PYTHONUNBUFFERED=1
|
with:
|
||||||
export REDIS_URL=redis://localhost:6379
|
token: ${{ secrets.CODSPEED_TOKEN }}
|
||||||
poetry run pytest tests/units --cov --no-cov-on-fail --cov-report=
|
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
|
# Change to explicitly install v1 when reflex-hosting-cli is compatible with v2
|
||||||
- name: Run unit tests w/ pydantic v1
|
- name: Run unit tests w/ pydantic v1
|
||||||
run: |
|
uses: CodSpeedHQ/action@v3
|
||||||
export PYTHONUNBUFFERED=1
|
with:
|
||||||
poetry run uv pip install "pydantic~=1.10"
|
token: ${{ secrets.CODSPEED_TOKEN }}
|
||||||
poetry run pytest tests/units --cov --no-cov-on-fail --cov-report=
|
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
|
- name: Generate coverage report
|
||||||
run: poetry run coverage html
|
run: poetry run coverage html
|
||||||
|
|
||||||
@ -103,11 +113,17 @@ jobs:
|
|||||||
run-poetry-install: true
|
run-poetry-install: true
|
||||||
create-venv-at-path: .venv
|
create-venv-at-path: .venv
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: |
|
uses: CodSpeedHQ/action@v3
|
||||||
export PYTHONUNBUFFERED=1
|
with:
|
||||||
poetry run pytest tests/units --cov --no-cov-on-fail --cov-report=
|
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
|
- name: Run unit tests w/ pydantic v1
|
||||||
run: |
|
uses: CodSpeedHQ/action@v3
|
||||||
export PYTHONUNBUFFERED=1
|
with:
|
||||||
poetry run uv pip install "pydantic~=1.10"
|
token: ${{ secrets.CODSPEED_TOKEN }}
|
||||||
poetry run pytest tests/units --cov --no-cov-on-fail --cov-report=
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user