Skip to content

Commit

Permalink
GitHub actions fix (#29)
Browse files Browse the repository at this point in the history
* Ignoring file_sizes output for tests

Different versions of exiftool and different operating systems produce various results for the file size tests.

Running locally and on remote systems like Travis-CI and GitHub actions produces different result.

for example:
        Expected [:file_size]: "24 KiB"
        Actual [:file_size]: "25 kB"
  • Loading branch information
morozgrafix authored Jan 11, 2023
1 parent 165e630 commit 3d271e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/exiftool_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
file_modify_date
file_modify_date_civil
file_permissions
file_size
intelligent_contrast
max_focal_length
min_focal_length
source_file
thumbnail_image
preview_tiff

].freeze

IGNORABLE_PATTERNS = [
Expand Down

0 comments on commit 3d271e5

Please sign in to comment.