Skip to content

Commit 0932397

Browse files
committed
Testing tests
1 parent 9c4e2ba commit 0932397

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
run-tests:
1313
strategy:
1414
matrix:
15-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
16-
os: [ ubuntu-latest, windows-latest, macOS-latest ]
15+
python-version: ["3.10"]
16+
os: [ ubuntu-latest ]
1717
runs-on: ${{matrix.os}}
1818
steps:
1919
- uses: actions/checkout@v4

tests/test_CLI.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,16 @@ def test_pmid_reference_hyphen_ref_search():
183183

184184
def test_pmid_reference_underscore_ref_search():
185185
"""Test that the underscore version of the PMID_reference option works for reference_search."""
186+
print([name for name in os.listdir(".") if os.path.isdir(name) and re.match(r"tracker-.*", name)])
186187

187188
test_file = "config_truncated.json"
188189

189190
command = "academic_tracker reference_search ./" + test_file + " PMID_reference.json --no-PubMed --no-Crossref --PMID_reference"
190191
command = command.split(" ")
191192
subp = subprocess.run(command, capture_output=True, encoding="UTF-8")
192193
output = subp.stdout
194+
195+
print(output)
193196

194197
assert [name for name in os.listdir(".") if os.path.isdir(name) and re.match(r"tracker-.*", name)]
195198

0 commit comments

Comments
 (0)