We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a9532c commit a9571e9Copy full SHA for a9571e9
.github/workflows/install_check.yml
@@ -33,11 +33,17 @@ jobs:
33
# Change directory to ensure we test the installed package, not the local source
34
mkdir test_install
35
cd test_install
36
- python -c "
+ cat <<EOF > verify.py
37
import delayed_assert
38
+ import sys
39
print(f'Successfully imported delayed_assert from {delayed_assert.__file__}')
40
from delayed_assert import expect, assert_expectations
- expect(1 == 1)
41
- assert_expectations()
42
- print('Basic functionality verification passed')
43
- "
+ try:
+ expect(1 == 1)
+ assert_expectations()
44
+ print('Basic functionality verification passed')
45
+ except Exception as e:
46
+ print(f'Failed: {e}')
47
+ sys.exit(1)
48
+ EOF
49
+ python verify.py
0 commit comments