1212 workflow_dispatch :
1313
1414env :
15- python-version : " 3.11 "
15+ python-version : " 3.12 "
1616
1717jobs :
1818 build :
@@ -55,29 +55,33 @@ jobs:
5555 ./scripts/build-local-conda-package.sh
5656
5757 test :
58- name : python ${{ matrix.python-version }}, ${{ matrix.experimental && 'latest' || 'pinned' }} dependencies
58+ name : python ${{ matrix.python-version }}, ${{ matrix.dependencies }} dependencies
5959 runs-on : ubuntu-latest
6060 timeout-minutes : 10
6161 needs : ["build"]
6262
6363 # Allow failures for the latest versions
64- continue-on-error : ${{ matrix.experimental }}
64+ continue-on-error : ${{ matrix.dependencies == 'latest' }}
6565 strategy :
6666 fail-fast : false
6767 matrix :
68- python-version : ["3.9 ", "3.10 ", "3.11 "]
69- experimental : [false ]
68+ python-version : ["3.10 ", "3.11 ", "3.12 "]
69+ dependencies : ["pinned" ]
7070 include :
71- - python-version : " 3.11"
72- experimental : true
71+ - python-version : " 3.12"
72+ dependencies : " latest"
73+ - python-version : " 3.10"
74+ dependencies : " minimum"
75+
7376
7477 steps :
7578 - uses : actions/checkout@v3
7679 - uses : ./.github/actions/environment
7780 with :
7881 python-version : ${{ matrix.python-version }}
7982 package-artifact-name : ${{ needs.build.outputs.artifact-name }}
80- install-latest : ${{ matrix.experimental }}
83+ dependencies : ${{ matrix.dependencies }}
84+ strict : " true"
8185
8286 - name : Run tests
8387 shell : bash -l {0}
@@ -95,13 +99,13 @@ jobs:
9599 if : always()
96100 with :
97101 report_paths : ' junit-py*.xml'
98- check_name : " JUnit Test Report - python ${{ matrix.python-version }}, ${{ matrix.experimental && 'latest' || 'pinned' }} dependencies"
102+ check_name : " JUnit Test Report - python ${{ matrix.python-version }}, ${{ matrix.dependencies }} dependencies"
99103
100104 - name : MPL image comparison report
101105 uses : actions/upload-artifact@v3
102106 if : ${{ failure() }}
103107 with :
104- name : " MPL image comparison report - python ${{ matrix.python-version }}, ${{ matrix.experimental && 'latest' || 'pinned' }} dependencies"
108+ name : " MPL image comparison report - python ${{ matrix.python-version }}, ${{ matrix.dependencies }} dependencies"
105109 path : ' ./mpl-results'
106110 # No guarantee that the test failures were due to image comparisons
107111 if-no-files-found : ' ignore'
@@ -151,6 +155,7 @@ jobs:
151155 - uses : ./.github/actions/environment
152156 with :
153157 python-version : ${{ env.python-version }}
158+ extras : docs
154159 package-artifact-name : ${{ needs.build.outputs.artifact-name }}
155160
156161 - run : |
0 commit comments