diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 34dc020d4..4bed1ad8e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 @@ -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" @@ -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 }}