Skip to content

Commit

Permalink
Revert changes for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ymzayek committed Nov 9, 2023
1 parent 31c1f27 commit 4ebaaab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, windows-latest, windows-2019, windows-2019]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11', '3.12']
name: ${{ matrix.os }} with Python ${{ matrix.python-version }} and latest package versions
defaults:
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
run: ./build_tools/github/test_docs.sh
- name: Run tests
shell: bash {0}
run: python -m pytest nilearn/plotting/tests/test_surf_plotting.py -k test_plotly_savefig
run: ./build_tools/github/test.sh
- name: Upload coverage to CodeCov
uses: codecov/codecov-action@v3
with:
Expand Down
3 changes: 1 addition & 2 deletions nilearn/plotting/tests/test_surf_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,7 @@ def test_plotly_show(renderer):
@pytest.mark.skipif(not is_plotly_installed() or not is_kaleido_installed(),
reason=("Plotly and/or kaleido not installed; "
"required for this test."))
@pytest.mark.parametrize('execution_number', range(100))
def test_plotly_savefig(tmp_path, execution_number):
def test_plotly_savefig(tmp_path):
import plotly.graph_objects as go
ps = PlotlySurfaceFigure(go.Figure(), output_file=tmp_path / "foo.png")
assert ps.output_file == tmp_path / "foo.png"
Expand Down

0 comments on commit 4ebaaab

Please sign in to comment.