Skip to content

Commit 4099dd6

Browse files
committed
test multiple python versions via matrix
1 parent 1429f87 commit 4099dd6

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/test.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,24 @@ on:
1616
jobs:
1717
run_tests:
1818
runs-on: ubuntu-latest
19+
strategy:
20+
matrix:
21+
version:
22+
- '3.8'
23+
- '3.9'
24+
- '3.10'
25+
- '3.11'
26+
- '3.12'
1927
env:
2028
FUSIONAUTH_URL: http://localhost:9011
2129
FUSIONAUTH_API_KEY: bf69486b-4733-4470-a592-f1bfce7af580
2230
steps:
2331
- uses: actions/checkout@v4
2432

33+
- uses: actions/setup-python@v5
34+
with:
35+
python-version: ${{ matrix.version }}
36+
2537
- name: Set up FusionAuth
2638
working-directory: src/test/docker
2739
run: docker compose up -d

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10.12
1+
3.12.6

fusionauth-python-client.iml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<excludeFolder url="file://$MODULE_DIR$/build" />
1111
<excludeFolder url="file://$MODULE_DIR$/dist" />
1212
</content>
13-
<orderEntry type="jdk" jdkName="Python 3.10" jdkType="Python SDK" />
13+
<orderEntry type="jdk" jdkName="Python 3.12" jdkType="Python SDK" />
1414
<orderEntry type="sourceFolder" forTests="false" />
1515
</component>
1616
</module>

0 commit comments

Comments
 (0)