Skip to content

Commit 38ccc51

Browse files
author
chenyunliang520
committed
Add DNS and Python environment diagnostics to SSL tests workflow and fix RST license link syntax
1 parent e2f8e9b commit 38ccc51

File tree

5 files changed

+26
-4
lines changed

5 files changed

+26
-4
lines changed

.github/workflows/tests-ssl.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,28 @@ jobs:
226226
run: |
227227
mkdir -p reports
228228
229+
- name: Print DNS and Python environment
230+
run: |
231+
python - << 'EOF'
232+
import asyncio
233+
import dns
234+
import dns.version
235+
import dns.asyncresolver
236+
237+
print("Python version:")
238+
import sys; print(sys.version)
239+
240+
print("\nEvent loop policy:")
241+
print(asyncio.get_event_loop_policy())
242+
243+
print("\nDnspython version:")
244+
print(dns.version.version)
245+
246+
print("\nAsync resolver instance:")
247+
r = dns.asyncresolver.Resolver()
248+
print(r)
249+
EOF
250+
229251
- name: Run tests
230252
env:
231253
PYTHONPATH: ./gaussdb:./gaussdb_pool

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This project is a **fork** of `psycopg`, originally developed by the Psycopg Tea
3434

3535
**gaussdb** inherits the same license. All modifications are distributed under the **LGPL v3**.
3636

37-
See the full license text in the :download:`LICENSE.txt` file.
37+
See the full license text in the `LICENSE.txt` file.
3838

3939
.. note::
4040

gaussdb/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ This project is a **fork** of `psycopg <https://www.psycopg.org/>`_, originally
4545

4646
**gaussdb** inherits the same license. All modifications are distributed under the **LGPL v3**.
4747

48-
See the full license text in the :download:`LICENSE.txt` file.
48+
See the full license text in the `LICENSE.txt` file.
4949

5050
.. note::
5151

gaussdb_pool/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This project is a **fork** of `psycopg <https://www.psycopg.org/>`_, originally
2727

2828
**gaussdb_pool** inherits the same license. All modifications are distributed under the **LGPL v3**.
2929

30-
See the full license text in the :download:`LICENSE.txt` file.
30+
See the full license text in the `LICENSE.txt` file.
3131

3232
.. note::
3333

tools/isort-gaussdb/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This project is a **fork** of `psycopg <https://www.psycopg.org/>`_, originally
4141

4242
**isort-gaussdb** inherits the same license. All modifications are distributed under the **LGPL v3**.
4343

44-
See the full license text in the :download:`LICENSE.txt` file.
44+
See the full license text in the `LICENSE.txt` file.
4545

4646
.. note::
4747

0 commit comments

Comments
 (0)