Skip to content

Commit

Permalink
Add temporary debugging for windows builds in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tartley committed Jul 4, 2023
1 parent 2b40c40 commit 66da315
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
python -m pip install .
- name: Run tests
run: |
py.test tests/
py.test --show-capture=stderr tests/
- name: Run nikola
run: |
nikola
Expand Down
9 changes: 8 additions & 1 deletion nikola/plugins/task/galleries.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import mimetypes
import os
import pathlib
import sys
from collections import OrderedDict
from urllib.parse import urljoin

Expand Down Expand Up @@ -758,7 +759,13 @@ def forward_slashes(path):
mimetypes.guess_type(img)[0]
),
}
items.append(rss.RSSItem(**args))
print(f'{args=}', file=sys.stderr)
print(f'guid={vars(args["guid"])}', file=sys.stderr)
print(f'enclosure={vars(args["enclosure"])}', file=sys.stderr)
item = rss.RSSItem(**args)
print(f'item={vars(item)}', file=sys.stderr)
print('', file=sys.stderr)
items.append(item)
rss_obj = rss.RSS2(
title=title,
link=make_url(permalink),
Expand Down

0 comments on commit 66da315

Please sign in to comment.