Skip to content

Commit

Permalink
Minor CI fixes (#527)
Browse files Browse the repository at this point in the history
* Updating to latest Firedrake docker container in CI

* Linting after black update..
  • Loading branch information
brownbaerchen authored Feb 4, 2025
1 parent 4e68a10 commit c13d5a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
user_firedrake_tests:
runs-on: ubuntu-latest
container:
image: firedrakeproject/firedrake-vanilla:2025-01
image: firedrakeproject/firedrake-vanilla:latest
options: --user root
volumes:
- ${{ github.workspace }}:/repositories
Expand Down
2 changes: 1 addition & 1 deletion pySDC/projects/GPU/paper_plots.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
""" Make plots for publications """
"""Make plots for publications"""

import matplotlib.pyplot as plt
from pySDC.helpers.plot_helper import setup_mpl, figsize_by_journal
Expand Down
2 changes: 1 addition & 1 deletion pySDC/projects/Resilience/AC.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def post_step(self, step, level_number):
self.dt += [step.dt]
self.axs[2].plot(self.t, self.dt)
self.axs[2].set_yscale('log')
self.axs[2].axhline(step.levels[level_number].prob.eps ** 2, label=r'$\epsilon^2$', color='black', ls='--')
self.axs[2].axhline(step.levels[level_number].prob.eps**2, label=r'$\epsilon^2$', color='black', ls='--')
self.axs[2].legend(frameon=False)
self.axs[2].set_xlim([0, 0.03])
self.axs[2].set_title(r'$\Delta t$')
Expand Down
4 changes: 1 addition & 3 deletions pySDC/tests/test_convergence_controllers/test_adaptivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,7 @@ def multiple_tests(adaptivity, e_tol_range, num_nodes, **kwargs):
not_passed += [(4, f'Expected order wrt e_tol {expected_order_error_e_tol}, but got {order_e_tol}!')]
if not np.isclose(np.median(order_estimate_e_tol), expected_order_estimate_e_tol, atol=0.4):
not_passed += [
(
f'Expected order wrt e_tol {expected_order_estimate_e_tol} in the estimate, but got {order_estimate_e_tol}!'
)
f'Expected order wrt e_tol {expected_order_estimate_e_tol} in the estimate, but got {order_estimate_e_tol}!'
]

return not_passed
Expand Down

0 comments on commit c13d5a5

Please sign in to comment.