Skip to content

Commit

Permalink
Update workflows to include 3.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
hmgaudecker committed Nov 17, 2023
1 parent 2abe469 commit 567e186
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ jobs:
- windows-latest
python-version:
- '3.11'
- '3.12'
exclude:
- os: macos-latest
python-version: 3.11
- os: windows-latest
python-version: 3.11
steps:
- uses: actions/checkout@v3
- name: Install conda environment on Windows
Expand Down Expand Up @@ -53,7 +59,7 @@ jobs:
run: pytest --cov=./ --cov-report=xml
shell: bash -el {0}
- name: Run tests with NumPy backend on Windows
# Ignore MacOS for being slow -- no reason that would break if Jax works.
# No JAX on Windows.
if: runner.os == 'Windows'
run: pytest src/_gettsim_tests
shell: pwsh
Expand All @@ -66,7 +72,7 @@ jobs:
# --use-jax
shell: bash -el {0}
- name: Upload coverage reports
if: runner.os == 'Linux' && matrix.python-version == '3.11'
if: runner.os == 'Linux' && matrix.python-version == '3.12'
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
- name: Install pypa/build
run: >-
python -m
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
intersphinx_mapping = {
"numpy": ("https://docs.scipy.org/doc/numpy", None),
"pandas": ("https://pandas.pydata.org/pandas-docs/stable", None),
"python": ("https://docs.python.org/3.11", None),
"python": ("https://docs.python.org/", None),
}

myst_heading_anchors = 3
Expand Down

0 comments on commit 567e186

Please sign in to comment.