File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,25 @@ This will override any python version specifications in `pyproject.toml` and `.p
89
89
python-version: "3.12"
90
90
` ` `
91
91
92
+ You can combine this with a matrix to test multiple python versions :
93
+
94
+ ` ` ` yaml
95
+ jobs:
96
+ test:
97
+ runs-on: ubuntu-latest
98
+ strategy:
99
+ matrix:
100
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
101
+ steps:
102
+ - uses: actions/checkout@v4
103
+ - name: Install the latest version of uv and set the python version
104
+ uses: astral-sh/setup-uv@v3
105
+ with:
106
+ python-version: ${{ matrix.python-version }}
107
+ - name: Test with python ${{ matrix.python-version }}
108
+ run: uv run --frozen pytest
109
+ ` ` `
110
+
92
111
# ## Validate checksum
93
112
94
113
You can specify a checksum to validate the downloaded executable. Checksums up to the default version
You can’t perform that action at this time.
0 commit comments