Skip to content

Commit 01a9405

Browse files
committed
[PortsPy] Denotes excluded tests for json-rfc and adds JSON and first sendmail to CI jobs
1 parent 4828b8c commit 01a9405

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/python-suites.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
- name: Run SMTP Tests
2626
run: |
2727
python3 ports-py/smtp.py
28-
- name: Run FS Tests
28+
- name: Run Sendmail Tests for RedMail
2929
run: |
30-
python3 ports-py/fs.py
30+
pip install -r ports-py/sendmail-redmail.requirements.txt
31+
python3 ports-py/sendmail-redmail.py
32+
- name: Run JSON RFC Tests
33+
run: |
34+
python3 ports-py/json-rfc.py

ports-py/json-rfc.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,8 @@ def file_contents(env,file_name):
2929
# Running
3030
#
3131

32-
suite.run()
32+
suite.run(exclude=(
33+
# Python json accespts Infinity and NaN, although they are not allowed.
34+
"test_n_number_infinity.json",
35+
"test_n_number_NaN.json",
36+
"test_n_number_minus_infinity.json"))

0 commit comments

Comments
 (0)