Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI #816

Merged
merged 6 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/html-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ jobs:
python --version
- name: Install Python package
env:
# There is still a warning with pip version 24, even though this
# is supposed to be fixed: https://github.com/pypa/pip/issues/11975
# DeprecationWarning: Unimplemented abstract methods {'locate_file'}
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install .
- name: Install docs dependencies
env:
# There is still a warning with pip version 24, even though this
# is supposed to be fixed: https://github.com/pypa/pip/issues/11975
# DeprecationWarning: Unimplemented abstract methods {'locate_file'}
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install -r doc/requirements.txt
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
python --version
- name: Install Python package
env:
# There is still a warning with pip version 24, even though this
# is supposed to be fixed: https://github.com/pypa/pip/issues/11975
# DeprecationWarning: Unimplemented abstract methods {'locate_file'}
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install .
- name: Install docs dependencies
env:
# There is still a warning with pip version 24, even though this
# is supposed to be fixed: https://github.com/pypa/pip/issues/11975
# DeprecationWarning: Unimplemented abstract methods {'locate_file'}
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install -r doc/requirements.txt
Expand Down
40 changes: 25 additions & 15 deletions .github/workflows/version-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
PYTHON_VERSION: "3"
jobs:
version-matrix:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand All @@ -35,21 +35,19 @@ jobs:
PYTHON_VERSION: "3.8"
- env:
PYTHON_VERSION: "3.10"
#- env:
# PYTHON_VERSION: "3.13-dev"
# PYTHONWARNINGS: default
#- env:
# PYTHON_VERSION: "pypy-3.10"
- env:
PYTHON_VERSION: "3.13-dev"
PYTHONWARNINGS: default

env: ${{ matrix.env || fromJSON('{}') }}
steps:
- name: Clone repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pandoc
- name: Install apt packages
run: |
$APT_INSTALL pandoc
$APT_INSTALL pandoc librsvg2-bin
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
Expand All @@ -59,28 +57,40 @@ jobs:
python --version
- name: Install Sphinx
env:
# There is still a warning with pip version 24, even though this
# is supposed to be fixed: https://github.com/pypa/pip/issues/11975
# DeprecationWarning: Unimplemented abstract methods {'locate_file'}
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install $SPHINX_PACKAGE
- name: Install nbsphinx
env:
# There is still a warning with pip version 24, even though this
# is supposed to be fixed: https://github.com/pypa/pip/issues/11975
# DeprecationWarning: Unimplemented abstract methods {'locate_file'}
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install .
- name: Install docs dependencies
env:
# There is still a warning with pip version 24, even though this
# is supposed to be fixed: https://github.com/pypa/pip/issues/11975
# DeprecationWarning: Unimplemented abstract methods {'locate_file'}
# https://github.com/pypa/pip/issues/11684
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$PIP install -r doc/requirements.txt --upgrade-strategy only-if-needed
- name: Run Sphinx
- name: Run Sphinx (HTML)
env:
# There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398)
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$SPHINX doc _build -b html
- name: Run Sphinx (LaTeX, but without running LaTeX)
env:
# There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398)
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$SPHINX doc _build -b latex
- name: Run Sphinx (epub)
env:
# There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398)
PYTHONWARNINGS: error,default::DeprecationWarning
run: |
$SPHINX doc _build -b epub
58 changes: 0 additions & 58 deletions .travis.yml

This file was deleted.

Loading