Skip to content

Commit

Permalink
upgrade to fix stochastics
Browse files Browse the repository at this point in the history
  • Loading branch information
MCNatsu committed Dec 29, 2024
1 parent f021cea commit c9bd9fc
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
if: always()
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
run: just test-deterministic
run: just test-deterministic tests/adapters

- name: Test Parlant (core-stable)
if: always()
Expand Down
8 changes: 4 additions & 4 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ setup-logdir:
mkdir -p logs/deterministric
poetry run pytest \
-vv {{specs}} --plan=deterministic \
--tap-combined --tap-outdir=logs/deterministic \
--tap-combined --tap-outdir=logs/deterministic --no-cache \
--timing-file=logs/deterministic/test_timings.csv \
--junit-xml=logs/deterministic/testresults.xml \
--color=auto
Expand All @@ -68,9 +68,9 @@ setup-logdir:
--color=auto

test-complete *specs='':
just test-deterministic {{specs}} #(uses cache)
just test-core-stable {{specs}} #(no cache)
just test-core-unstable {{specs}} #(no cache)
just test-deterministic {{specs}}
just test-core-stable {{specs}}
just test-core-unstable {{specs}}


@install:
Expand Down
13 changes: 9 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pytest = "^8.0.0"
pytest-asyncio = "^0.23.5"
pytest-bdd = "^7.1.2"
pytest-cov = "^5.0.0"
pytest-stochastics = { git = "https://github.com/emcie-co/pytest-stochastics.git", tag = "v0.5.1" }
pytest-stochastics = { git = "https://github.com/emcie-co/pytest-stochastics.git", tag = "v0.5.2" }
pytest-tap = "^3.4"
pytest-timing = { git = "https://github.com/emcie-co/mc-spitfyre.git", subdirectory = "pytest-timing", tag = "timing_v0.1.4" }
python-dotenv = "^1.0.1"
Expand Down
Empty file removed tests/core/.gitkeep
Empty file.

0 comments on commit c9bd9fc

Please sign in to comment.