-
Notifications
You must be signed in to change notification settings - Fork 39
Add deterministic multi-worker evaluation and seeded failure replay #533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b024795
12c9e68
c61cf91
fc22792
ee1b1cd
48b8c77
5df58db
485e989
dd993de
fa0b0b7
9b688ec
8f5389f
3232cdf
3269859
f4a3ed5
db2c7e0
ec69615
f19c116
a6fef93
2d4c799
4f00c7a
26b120e
9477e5c
cdb190a
7f43e93
985a95f
d0bde82
86a4e02
b684609
1da087d
77ba3c2
38b863b
47d2cd0
78fab61
22783fa
28b9fd0
37273f9
f92e951
03a8fa6
0b0855a
6c15a6e
cd75b62
48bd185
3291def
6b6322a
0f39b4b
d9ea48c
8f4c12e
cbc29cb
5720e70
921a094
2bee767
6d153d1
b415408
632ec42
a2690cb
3d30abb
ee8f7b5
051a695
dd90a06
c236558
6bdbf46
96291dd
6170d6e
36a2596
f5efe6f
104aa44
3b2d5ae
8e3fb5e
ee84b34
fa80ab3
fb923fd
53506e5
1bc5288
36b8100
5c9cd62
d4e638c
cad5f85
ccae7cb
8492577
8eeecf6
90e9b59
cb541e0
175f66d
e4f1c94
4671bc7
24559ce
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,6 +40,10 @@ jobs: | |
| - name: Unit tests | ||
| run: python -m pytest -v tests/unit_tests | ||
|
|
||
| - name: Evaluation integration tests | ||
| run: python -m pytest -v tests/eval | ||
| timeout-minutes: 15 | ||
|
|
||
| c-drive-tests: | ||
| name: C Drive Tests | ||
| runs-on: ubuntu-latest | ||
|
|
@@ -121,40 +125,6 @@ jobs: | |
| run: docker run --rm pufferdrive-smoke | ||
| timeout-minutes: 30 | ||
|
|
||
| smoke-replay: | ||
| name: Smoke Replay HTML | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| PUFFER_CPU: 1 | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.11" | ||
|
|
||
| - name: Free up disk space | ||
| run: | | ||
| sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc | ||
| sudo apt-get clean | ||
| sudo rm -rf ~/.cache/pip /tmp/* /var/tmp/* | ||
|
|
||
| - name: Install pufferlib | ||
| env: | ||
| TMPDIR: ${{ runner.temp }}/build | ||
| PIP_NO_CACHE_DIR: 1 | ||
| run: | | ||
| sudo apt-get update && sudo apt-get install -y build-essential cmake | ||
| python -m pip install -U pip pytest | ||
| pip install -e . --no-cache-dir | ||
| python setup.py build_ext --inplace --force | ||
|
|
||
| - name: Replay HTML test | ||
| run: python -m pytest -v tests/smoke_tests/test_validation_replay_html.py | ||
| timeout-minutes: 20 | ||
|
|
||
|
Comment on lines
-124
to
-157
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I understand deleting this, but why not have a replacement test for the htmls? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I deleted a lot of tests to focus only on testing the 4 most important mechanisms of the PR:
My idea was to focus on the most complex mechanisms that rely on both C and Python code, and could be broken by a coming PR that touches drive.h or binding.c, and thus avoid having 2k lines of tests for things that are "less complex" But I'm very open to advice on it, if you think we should have tests for every mechanism because it's the best way to make the codebase robust for the future, we'll add them ! |
||
| perf-tests: | ||
| name: Smoke Performance Test | ||
| runs-on: ubuntu-latest | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.