Skip to content

Commit 164001f

Browse files
m
1 parent b51efb3 commit 164001f

1 file changed

Lines changed: 7 additions & 14 deletions

File tree

.github/workflows/reproduce_bug.yaml

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,12 @@ jobs:
1919
python-version: "3.14"
2020
architecture: x86
2121

22-
- name: Create test file
22+
- name: Install dependencies
2323
run: |
24-
echo 'import pytest' > test_bug.py
25-
echo '' >> test_bug.py
26-
echo '@pytest.mark.parametrize("value", [' >> test_bug.py
27-
echo ' "\U00010002abc",' >> test_bug.py
28-
echo ' "abc\u79d8\u5bc6\u4ee3\u7801",' >> test_bug.py
29-
echo '])' >> test_bug.py
30-
echo 'def test_unicode(value):' >> test_bug.py
31-
echo ' assert len(value) > 0' >> test_bug.py
24+
python -m pip install --upgrade pip
25+
pip install --upgrade -r dev_requirements/ci-requirements.txt
3226
33-
- name: Install pytest
34-
run: pip install pytest==8.0.0 pytest-cov==4.0.0 pytest-mock==3.6.1
35-
36-
- name: Run test (will crash)
37-
run: pytest test_bug.py -vv
27+
- name: Run actual failing test
28+
env:
29+
TOXENV: local
30+
run: tox -- --tb=short test/unit/test_serialize.py::TestSerialize::test_GIVEN_two_distinct_valid_encrypted_data_keys_WHEN_serialize_encrypted_data_keys_THEN_deserialize_equals_inputs -vv

0 commit comments

Comments
 (0)