Skip to content

Commit

Permalink
Update python versions for #1259 (#1273)
Browse files Browse the repository at this point in the history
Remove 3.7 and add 3.11 and fixes #1259
  • Loading branch information
PeterC-DLS committed Jun 15, 2023
1 parent e9f7406 commit 27d9dda
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11']
max-parallel: 5
env:
python_version: ${{ matrix.python-version }}
python_deploy_version: '3.8' # version to use for deployment

steps:
- name: Checkout Repository
Expand All @@ -37,7 +38,7 @@ jobs:
fetch-depth: 0

- name: Deploy Information
if: ${{ github.event.inputs.deploy && env.python_version == '3.7' }}
if: ${{ github.event.inputs.deploy && env.python_version == env.python_deploy_version }}
run: |
echo "The HTML NeXus User Manual will be pushed to"
echo " https://github.com/nexusformat/definitions/tree/gh-pages"
Expand Down Expand Up @@ -85,14 +86,14 @@ jobs:
ls -lAFgh build/manual/build/latex/nexus.pdf
- name: Build and Commit the User Manual
if: ${{ github.event.inputs.deploy && env.python_version == '3.7' }}
if: ${{ github.event.inputs.deploy && env.python_version == env.python_deploy_version }}
uses: sphinx-notes/pages@master
with:
# path to the conf.py directory
documentation_path: build/manual/source

- name: Deploy the User Manual
if: ${{ github.event.inputs.deploy && env.python_version == '3.7' }}
if: ${{ github.event.inputs.deploy && env.python_version == env.python_deploy_version }}
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 27d9dda

Please sign in to comment.