File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 runs-on : ubuntu-latest
2020 strategy :
2121 matrix :
22- python-version : ['3.9 ', '3.10 ', '3.11 ', '3.12 ']
22+ python-version : ['3.10 ', '3.11 ', '3.12 ', '3.13 ']
2323 # Reminder: when removing support of an old python version here, then don't forget to remove
2424 # it also in pyproject.toml 'requires-python'
2525 steps :
@@ -37,16 +37,16 @@ jobs:
3737 run : |
3838 python -m pip list
3939 - name : Test with pytest
40- if : ${{ matrix.python-version != '3.9 ' }}
40+ if : ${{ matrix.python-version != '3.10 ' }}
4141 run : |
4242 pytest
4343 - name : Test with pytest and Codecov
44- if : ${{ matrix.python-version == '3.9 ' }}
44+ if : ${{ matrix.python-version == '3.10 ' }}
4545 run : |
4646 pip install pytest-cov
4747 pytest --cov=./ --cov-report=xml
4848 - name : Upload coverage to Codecov
49- if : ${{ matrix.python-version == '3.9 ' }}
49+ if : ${{ matrix.python-version == '3.10 ' }}
5050 uses : codecov/codecov-action@v1
5151 with :
5252 verbose : true
8080 - name : Set up Python
8181 uses : actions/setup-python@v5
8282 with :
83- python-version : ' 3.11 '
83+ python-version : ' 3.12 '
8484 - name : Install dependencies
8585 run : |
8686 python -m pip install --upgrade pip
Original file line number Diff line number Diff line change 1717 runs-on : ${{ matrix.os }}
1818 strategy :
1919 matrix :
20- python-version : ['3.9 ', '3.10 ', '3.11 ', '3.12 ']
20+ python-version : ['3.10 ', '3.11 ', '3.12 ', '3.13 ']
2121 os : [ ubuntu-latest, windows-latest ]
2222
2323 steps :
@@ -38,15 +38,15 @@ jobs:
3838 - name : Install specific dependencies (Windows)
3939 if : matrix.os == 'windows-latest'
4040 run : |
41- if ( '${{ matrix.python-version }}' -eq '3.9 ' ) { python -m pip install pypower }
42- if ( '${{ matrix.python-version }}' -ne '3.9 ' ) { python -m pip install numba }
41+ if ( '${{ matrix.python-version }}' -eq '3.10 ' ) { python -m pip install pypower }
42+ if ( '${{ matrix.python-version }}' -ne '3.10 ' ) { python -m pip install numba }
4343 if ( '${{ matrix.python-version }}' -eq '3.10' ) { python -m pip install lightsim2grid }
4444
4545 - name : Install specific dependencies (Ubuntu)
4646 if : matrix.os == 'ubuntu-latest'
4747 run : |
48- if ${{ matrix.python-version == '3.9 ' }}; then python -m pip install pypower; fi
49- if ${{ matrix.python-version != '3.9 ' }}; then python -m pip install numba; fi
48+ if ${{ matrix.python-version == '3.10 ' }}; then python -m pip install pypower; fi
49+ if ${{ matrix.python-version != '3.10 ' }}; then python -m pip install numba; fi
5050 if ${{ matrix.python-version == '3.10' }}; then python -m pip install lightsim2grid; fi
5151
5252 - name : List all installed packages
You can’t perform that action at this time.
0 commit comments