Skip to content

Conversation

@weiji14
Copy link
Member

@weiji14 weiji14 commented Mar 12, 2021

Description of proposed changes

Shaves a few lines off the .github/workflows/*.yaml files. See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#defaultsrun.

Also secretly testing how many tests break with merge of gmt-themes branch upstream

Fixes #

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If adding new functionality, add an example to docstrings or tutorials.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash commands are:

  • /format: automatically format and lint the code
  • /test-gmt-dev: run full tests on the latest GMT development version

@weiji14 weiji14 added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog labels Mar 12, 2021
@weiji14 weiji14 marked this pull request as ready for review March 12, 2021 04:01
@seisman seisman added this to the 0.3.1 milestone Mar 12, 2021
@weiji14
Copy link
Member Author

weiji14 commented Mar 12, 2021

FYI: 47 test failures on GMT dev (after gmt-themes branch merge) (see https://github.com/GenericMappingTools/pygmt/runs/2092112323?check_suite_focus=true#step:14:1224) 🙂

Details
=================================== FAILURES ===================================
_____________ [doctest] pygmt.helpers.testing.check_figures_equal ______________
049     >>> shutil.rmtree(path="tmp_result_images")  # cleanup folder if tests pass
050 
051     >>> @check_figures_equal(result_dir="tmp_result_images")
052     ... def test_check_figures_unequal():
053     ...     fig_ref = Figure()
054     ...     fig_ref.basemap(projection="X5c", region=[0, 5, 0, 5], frame=True)
055     ...     fig_test = Figure()
056     ...     fig_test.basemap(projection="X5c", region=[0, 3, 0, 3], frame=True)
057     ...     return fig_ref, fig_test
058     >>> with pytest.raises(GMTImageComparisonFailure):
UNEXPECTED EXCEPTION: ImageComparisonFailure('Image sizes do not match expected size: (645, 638, 3) actual size (654, 642, 3)')
Traceback (most recent call last):
  File "/usr/share/miniconda3/envs/test/lib/python3.9/doctest.py", line 1336, in __run
    exec(compile(example.source, filename, "single",
  File "<doctest pygmt.helpers.testing.check_figures_equal[8]>", line 2, in <module>
  File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/pygmt/helpers/testing.py", line 100, in wrapper
    err = compare_images(
  File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/matplotlib/testing/compare.py", line 411, in compare_images
    rms = calculate_rms(expected_image, actual_image)
  File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/matplotlib/testing/compare.py", line 318, in calculate_rms
    raise ImageComparisonFailure(
matplotlib.testing.exceptions.ImageComparisonFailure: Image sizes do not match expected size: (645, 638, 3) actual size (654, 642, 3)
/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/pygmt/helpers/testing.py:58: UnexpectedException
_________________________________ test_basemap _________________________________
Error: Image dimensions did not match.
  Expected shape: (1057, 1335)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_basemap.test_basemap/baseline.png
  Actual shape: (958, 1264)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_basemap.test_basemap/result.png
___________________________ test_basemap_list_region ___________________________
Error: Image dimensions did not match.
  Expected shape: (1057, 1146)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_basemap.test_basemap_list_region/baseline.png
  Actual shape: (966, 989)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_basemap.test_basemap_list_region/result.png
_____________________________ test_basemap_loglog ______________________________
Error: Image dimensions did not match.
  Expected shape: (1968, 3242)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_basemap.test_basemap_loglog/baseline.png
  Actual shape: (1933, 3193)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_basemap.test_basemap_loglog/result.png
___________________________ test_basemap_power_axis ____________________________
Error: Image dimensions did not match.
  Expected shape: (925, 1665)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_basemap.test_basemap_power_axis/baseline.png
  Actual shape: (728, 1372)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_basemap.test_basemap_power_axis/result.png
__________________________________ test_coast __________________________________
Error: Image dimensions did not match.
  Expected shape: (2765, 2089)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_coast.test_coast/baseline.png
  Actual shape: (2695, 1971)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_coast.test_coast/result.png
__________________________ test_coast_world_mercator ___________________________
Error: Image dimensions did not match.
  Expected shape: (2477, 3289)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_coast.test_coast_world_mercator/baseline.png
  Actual shape: (2412, 3177)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_coast.test_coast_world_mercator/result.png
____________________ test_colorbar_using_paper_coordinates _____________________
Error: Image dimensions did not match.
  Expected shape: (156, 130)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_using_paper_coordinates/baseline.png
  Actual shape: (150, 114)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_using_paper_coordinates/result.png
_______________ test_colorbar_using_paper_coordinates_horizontal _______________
Error: Image dimensions did not match.
  Expected shape: (93, 253)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_using_paper_coordinates_horizontal/baseline.png
  Actual shape: (75, 251)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_using_paper_coordinates_horizontal/result.png
________________ test_colorbar_positioned_using_map_coordinates ________________
Error: Image dimensions did not match.
  Expected shape: (631, 779)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_positioned_using_map_coordinates/baseline.png
  Actual shape: (532, 580)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_positioned_using_map_coordinates/result.png
_______________ test_colorbar_positioned_using_normalized_coords _______________
Error: Image dimensions did not match.
  Expected shape: (631, 779)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_positioned_using_normalized_coords/baseline.png
  Actual shape: (532, 580)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_positioned_using_normalized_coords/result.png
______________________________ test_colorbar_box _______________________________
Error: Image dimensions did not match.
  Expected shape: (194, 168)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box/baseline.png
  Actual shape: (182, 144)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box/result.png
__________________________ test_colorbar_box_with_pen __________________________
Error: Image dimensions did not match.
  Expected shape: (194, 168)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box_with_pen/baseline.png
  Actual shape: (182, 144)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box_with_pen/result.png
_________________________ test_colorbar_box_with_fill __________________________
Error: Image dimensions did not match.
  Expected shape: (188, 162)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box_with_fill/baseline.png
  Actual shape: (182, 145)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box_with_fill/result.png
_______________________ test_colorbar_box_with_clearance _______________________
Error: Image dimensions did not match.
  Expected shape: (256, 323)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box_with_clearance/baseline.png
  Actual shape: (243, 300)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box_with_clearance/result.png
___________________ test_colorbar_box_with_secondary_border ____________________
Error: Image dimensions did not match.
  Expected shape: (194, 168)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box_with_secondary_border/baseline.png
  Actual shape: (182, 144)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box_with_secondary_border/result.png
____________________ test_colorbar_box_with_rounded_corners ____________________
Error: Image dimensions did not match.
  Expected shape: (195, 168)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box_with_rounded_corners/baseline.png
  Actual shape: (182, 144)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box_with_rounded_corners/result.png
___________________ test_colorbar_box_with_offset_background ___________________
Error: Image dimensions did not match.
  Expected shape: (192, 170)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box_with_offset_background/baseline.png
  Actual shape: (186, 153)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_box_with_offset_background/result.png
____________________ test_colorbar_truncated_to_zlow_zhigh _____________________
Error: Image dimensions did not match.
  Expected shape: (274, 200)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_truncated_to_zlow_zhigh/baseline.png
  Actual shape: (268, 171)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_truncated_to_zlow_zhigh/result.png
________________________ test_colorbar_scaled_z_values _________________________
Error: Image dimensions did not match.
  Expected shape: (274, 172)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_scaled_z_values/baseline.png
  Actual shape: (268, 149)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_colorbar.test_colorbar_scaled_z_values/result.png
_________________________________ test_config __________________________________
Error: Image dimensions did not match.
  Expected shape: (1633, 4912)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config/baseline.png
  Actual shape: (1417, 4809)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config/result.png
_________________________ test_config_format_time_map __________________________
Error: Image dimensions did not match.
  Expected shape: (416, 935)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config_format_time_map/baseline.png
  Actual shape: (302, 850)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config_format_time_map/result.png
_________________________ test_config_map_annot_offset _________________________
Error: Image dimensions did not match.
  Expected shape: (484, 998)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config_map_annot_offset/baseline.png
  Actual shape: (397, 938)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config_map_annot_offset/result.png
_______________________ test_config_map_grid_cross_size ________________________
Error: Image dimensions did not match.
  Expected shape: (873, 1111)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config_map_grid_cross_size/baseline.png
  Actual shape: (768, 970)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config_map_grid_cross_size/result.png
___________________________ test_config_map_grid_pen ___________________________
Error: Image dimensions did not match.
  Expected shape: (873, 1111)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config_map_grid_pen/baseline.png
  Actual shape: (768, 970)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config_map_grid_pen/result.png
_________________________ test_config_map_tick_length __________________________
Error: Image dimensions did not match.
  Expected shape: (873, 1111)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config_map_tick_length/baseline.png
  Actual shape: (775, 977)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config_map_tick_length/result.png
___________________________ test_config_map_tick_pen ___________________________
Error: Image dimensions did not match.
  Expected shape: (873, 1111)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config_map_tick_pen/baseline.png
  Actual shape: (768, 970)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_config.test_config_map_tick_pen/result.png
_______________________________ test_contour_vec _______________________________
Error: Image dimensions did not match.
  Expected shape: (1357, 1393)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_contour.test_contour_vec/baseline.png
  Actual shape: (1268, 1287)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_contour.test_contour_vec/result.png
_____________________________ test_contour_matrix ______________________________
Error: Image dimensions did not match.
  Expected shape: (1057, 1093)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_contour.test_contour_matrix/baseline.png
  Actual shape: (966, 970)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_contour.test_contour_matrix/result.png
____________________________ test_contour_from_file ____________________________
Error: Image dimensions did not match.
  Expected shape: (1357, 1393)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_contour.test_contour_from_file/baseline.png
  Actual shape: (1268, 1287)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_contour.test_contour_from_file/result.png
______________________________ test_shift_origin _______________________________
Error: Image dimensions did not match.
  Expected shape: (5257, 2404)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_figure.test_shift_origin/baseline.png
  Actual shape: (5168, 2214)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_figure.test_shift_origin/result.png
_____________________________ test_legend_position _____________________________
Error: Image dimensions did not match.
  Expected shape: (1929, 1965)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_legend.test_legend_position/baseline.png
  Actual shape: (1845, 1905)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_legend.test_legend_position/result.png
_________________________ test_legend_default_position _________________________
Error: Image dimensions did not match.
  Expected shape: (1929, 2048)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_legend.test_legend_default_position/baseline.png
  Actual shape: (1845, 1905)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_legend.test_legend_default_position/result.png
_____________________________ test_legend_specfile _____________________________
Error: Image dimensions did not match.
  Expected shape: (1957, 2019)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_legend.test_legend_specfile/baseline.png
  Actual shape: (1873, 1910)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_legend.test_legend_specfile/result.png
__________________________ test_meca_spec_dictionary ___________________________
Error: Image dimensions did not match.
  Expected shape: (1806, 1829)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_meca.test_meca_spec_dictionary/baseline.png
  Actual shape: (1731, 1771)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_meca.test_meca_spec_dictionary/result.png
____________________________ test_plot_red_circles _____________________________
Error: Image dimensions did not match.
  Expected shape: (1357, 1393)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_red_circles/baseline.png
  Actual shape: (1268, 1287)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_red_circles/result.png
_______________________________ test_plot_sizes ________________________________
Error: Image dimensions did not match.
  Expected shape: (1357, 1393)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_sizes/baseline.png
  Actual shape: (1268, 1287)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_sizes/result.png
____________________________ test_plot_colors_sizes ____________________________
Error: Image dimensions did not match.
  Expected shape: (1057, 1093)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_colors_sizes/baseline.png
  Actual shape: (966, 970)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_colors_sizes/result.png
_________________________ test_plot_colors_sizes_proj __________________________
Error: Image dimensions did not match.
  Expected shape: (905, 3234)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_colors_sizes_proj/baseline.png
  Actual shape: (828, 3155)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_colors_sizes_proj/result.png
_______________________________ test_plot_matrix _______________________________
Error: Image dimensions did not match.
  Expected shape: (905, 3234)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_matrix/baseline.png
  Actual shape: (828, 3155)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_matrix/result.png
____________________________ test_plot_matrix_color ____________________________
Error: Image dimensions did not match.
  Expected shape: (1657, 1693)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_matrix_color/baseline.png
  Actual shape: (1571, 1591)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_matrix_color/result.png
_____________________________ test_plot_from_file ______________________________
Error: Image dimensions did not match.
  Expected shape: (3157, 3194)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_from_file/baseline.png
  Actual shape: (3084, 3107)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_from_file/result.png
______________________________ test_plot_vectors _______________________________
Error: Image dimensions did not match.
  Expected shape: (1357, 1393)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_vectors/baseline.png
  Actual shape: (1268, 1277)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_vectors/result.png
_________________________ test_plot_lines_with_arrows __________________________
Error: Image dimensions did not match.
  Expected shape: (1929, 1965)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_lines_with_arrows/baseline.png
  Actual shape: (1845, 1905)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_lines_with_arrows/result.png
_____________________________ test_plot_scalar_xy ______________________________
Error: Image dimensions did not match.
  Expected shape: (1929, 1965)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_scalar_xy/baseline.png
  Actual shape: (1845, 1905)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_scalar_xy/result.png
______________________________ test_plot_datetime ______________________________
Error: Image dimensions did not match.
  Expected shape: (747, 1960)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_datetime/baseline.png
  Actual shape: (657, 1839)
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_plot.test_plot_datetime/result.png
__________________ test_text_angle_font_justify_from_textfile __________________
Error: Image files did not match.
  RMS Value: 60.77142261767135
  Expected:  
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_text.test_text_angle_font_justify_from_textfile/baseline.png
  Actual:    
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_text.test_text_angle_font_justify_from_textfile/result.png
  Difference:
    /home/runner/work/pygmt/pygmt/tmp-test-dir-with-unique-name/results/pygmt.tests.test_text.test_text_angle_font_justify_from_textfile/result-failed-diff.png
  Tolerance: 
    2

I'll merge this PR in now and focus on #1036 a bit more tonight. Suggest that we deal with the test failures after v0.3.1 release, just need to ignore the test failure notification for some more days.

@weiji14 weiji14 merged commit 80b699d into master Mar 12, 2021
@weiji14 weiji14 deleted the gh-actions_default_bash_shell branch March 12, 2021 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants