Skip to content

Commit

Permalink
Fix CI failures (#329)
Browse files Browse the repository at this point in the history
* fix plot and docs build

* try with ubuntu 22

* try with ubuntu 20

* try installing xcb

* debug

* try with QT_OFFSCREEN

* try with macos

* install control

* install gcc

* try to get fortran working

* try with no window

* address warning
  • Loading branch information
blink1073 committed Aug 18, 2024
1 parent f53d2ba commit 7b9400f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
sudo apt-get install -qq octave octave-signal liboctave-dev
- name: Generate coverage report
run: |
pip install hatch; xvfb-run --auto-servernum hatch run cover:test
pip install -q hatch
hatch run cover:test
check_release:
runs-on: ubuntu-latest
Expand All @@ -43,7 +44,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

docs:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
Expand Down
2 changes: 1 addition & 1 deletion oct2py/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def _encode(data, convert_to_float): # noqa

# Send None as nan.
if data is None:
return np.NaN
return np.nan

# Sets are treated like lists.
if isinstance(data, set):
Expand Down

0 comments on commit 7b9400f

Please sign in to comment.