Skip to content

Commit

Permalink
test multiple python versions via matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjeffers committed Sep 26, 2024
1 parent 1429f87 commit 4099dd6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,24 @@ on:
jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
env:
FUSIONAUTH_URL: http://localhost:9011
FUSIONAUTH_API_KEY: bf69486b-4733-4470-a592-f1bfce7af580
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.version }}

- name: Set up FusionAuth
working-directory: src/test/docker
run: docker compose up -d
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10.12
3.12.6
2 changes: 1 addition & 1 deletion fusionauth-python-client.iml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<excludeFolder url="file://$MODULE_DIR$/build" />
<excludeFolder url="file://$MODULE_DIR$/dist" />
</content>
<orderEntry type="jdk" jdkName="Python 3.10" jdkType="Python SDK" />
<orderEntry type="jdk" jdkName="Python 3.12" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
Expand Down

0 comments on commit 4099dd6

Please sign in to comment.