Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
geigerzaehler committed Apr 1, 2024
1 parent 31121be commit 7e697e3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- run: poetry run ruff format --check
- run: poetry run ruff check
- run: poetry run pyright --warnings
- run: poetry run pytest -k ExternalCopyTest -x
- run: poetry run pytest -k "ExternalCopyTest or ExternalConvertTest" -x
- uses: coverallsapp/github-action@v2
if: github.event_name == 'pull_request' && matrix.python-version == '3.8'

Expand Down
9 changes: 7 additions & 2 deletions test/cli_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def touch_art(item, image_path):
# affect the repository.
image_dir = bytestring_path(self.mkdtemp())
image_path = os.path.join(image_dir, b"image")
shutil.copy(self.IMAGE_FIXTURE1, check_type(syspath(image_path), bytes))
shutil.copy(self.IMAGE_FIXTURE1, syspath(image_path)) # type: ignore
touch_art(item, image_path)

# Add a cover image, assert that it is being embedded.
Expand Down Expand Up @@ -471,7 +471,12 @@ def setUp(self):
super().setUp()
external_dir = self.mkdtemp()
self.config["convert"]["formats"] = {
"ogg": "bash -c \"cp '$source' '$dest';" + "printf ISOGG >> '$dest'\""
"ogg": (
'powershell -Command "'
"Copy-Item -Path '$source' -Destination '$dest';"
"Add-Content -Path '$dest' -Value ISOGG"
'"'
)
}
self.config["alternatives"] = {
"myexternal": {
Expand Down

0 comments on commit 7e697e3

Please sign in to comment.