Skip to content

Commit

Permalink
Tests dir for GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ashariyar committed Dec 14, 2024
1 parent 7fccfc9 commit ef2db0b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@

from pdfalyzer.pdfalyzer import Pdfalyzer

PROJECT_DIR = path.join(str(importlib.resources.files('pdfalyzer')), pardir)
# TODO: importlib doesn't play nice with running tests via GitHub actions
# PROJECT_DIR = path.join(str(importlib.resources.files('pdfalyzer')), pardir)
PYTESTS_DIR = path.dirname(__file__)
PROJECT_DIR = path.join(PYTESTS_DIR, pardir)
DOCUMENTATION_DIR = path.join(PROJECT_DIR, 'doc')
SVG_DIR = path.join(DOCUMENTATION_DIR, 'svgs')
RENDERED_IMAGES_DIR = path.join(SVG_DIR, 'rendered_images')
Expand Down

0 comments on commit ef2db0b

Please sign in to comment.