Skip to content

Commit

Permalink
Bump plotting tests to python 3.10 (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann authored Feb 21, 2023
1 parent a9bb3c3 commit 8c56dc3
Show file tree
Hide file tree
Showing 55 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
os:
- ubuntu-latest
python-version:
- '3.9'
- '3.10'

fail-fast: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest-legacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
run: pip install .[tests,optional_plotting,optional_io_formats,tutorials]

- name: Test with pytest
run: pytest tests --mpl
run: pytest tests
8 changes: 4 additions & 4 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ jobs:
run: pip install .[tests,optional_plotting,optional_io_formats,tutorials]

- name: Test with pytest
if: ${{ matrix.python-version != '3.9' }}
if: ${{ matrix.python-version != '3.10' }}
run: pytest tests

# only execute Matplotlib tests on latest Python version
# only execute Matplotlib tests & CodeCov on latest Python version
- name: Test with pytest including Matplotlib & Codecov
if: ${{ matrix.python-version == '3.9' }}
if: ${{ matrix.python-version == '3.10' }}
run: pytest tests --mpl --cov=./ --cov-report=xml

- name: Upload coverage report to Codecov
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9' }}
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' }}
uses: codecov/codecov-action@v1
with:
file: ./coverage.xml
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ install_requires =
scipy
pint >= 0.13
PyYAML
matplotlib >= 3.2.0
matplotlib >= 3.5.0
seaborn
six
setuptools >= 41
Expand Down
Binary file modified tests/expected_figs/test_add_panel_label.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_barplot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_barplot_h.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_barplot_rc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_barplot_stacked.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_barplot_stacked_net_line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_barplot_stacked_order_by_list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_barplot_stacked_order_by_rc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_barplot_title.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_boxplot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_boxplot_hue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_PYAM_COLORS.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_color_fill_between.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_color_fill_between_interpolate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_color_final_ranges.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_filter_title.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_linestyle_legend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_marker_legend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_no_legend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_plot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_plot_1_var.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_plot_2_vars.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_plot_bottom_legend.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_plot_cmap_color_arg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/expected_figs/test_line_plot_dict_legend.png
Binary file modified tests/expected_figs/test_line_plot_label.png
Binary file modified tests/expected_figs/test_line_plot_label_color.png
Binary file modified tests/expected_figs/test_line_plot_order_by_dict.png
Binary file modified tests/expected_figs/test_line_plot_order_by_rc.png
Binary file modified tests/expected_figs/test_line_rm_legend_label.png
Binary file modified tests/expected_figs/test_line_single_color.png
Binary file modified tests/expected_figs/test_line_update_rc.png
Binary file modified tests/expected_figs/test_pie_plot_colors.png
Binary file modified tests/expected_figs/test_pie_plot_labels.png
Binary file modified tests/expected_figs/test_pie_plot_legend.png
Binary file modified tests/expected_figs/test_pie_plot_other.png
Binary file modified tests/expected_figs/test_scatter.png
Binary file modified tests/expected_figs/test_scatter_meta.png
Binary file modified tests/expected_figs/test_scatter_variables_with_meta_color.png
Binary file modified tests/expected_figs/test_scatter_with_lines.png
Binary file modified tests/expected_figs/test_stackplot.png
Binary file modified tests/expected_figs/test_stackplot_missing_zero_issue_266.png
Binary file modified tests/expected_figs/test_stackplot_negative.png
Binary file modified tests/expected_figs/test_stackplot_negative_emissions.png
Binary file modified tests/expected_figs/test_stackplot_order_by_list.png
Binary file modified tests/expected_figs/test_stackplot_order_by_rc.png
Binary file modified tests/expected_figs/test_stackplot_other.png

0 comments on commit 8c56dc3

Please sign in to comment.