diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 320621f..1df2db1 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -1,8 +1,6 @@
# Run locally with act:
#
-# act pull_request \
-# --platform fusionauth-standard=[ecr-repo-name]/fusionauth-standard:latest] \
-# --workflows ./.github/workflows/test.yaml
+# act pull_request --workflows .github/workflows/test.yaml
name: Test
@@ -10,28 +8,38 @@ on:
push:
branches:
- main
+ - develop
pull_request:
branches:
- main
+ - develop
workflow_dispatch:
jobs:
run_tests:
- runs-on: fusionauth-standard
+ 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
- - name: Install fusionauth library
- shell: bash -l {0}
- run: pip3 install .
-
- name: Check to see if FusionAuth is loaded
run: |
bash ./src/test/docker/poll-for-kickstart-finish.sh
@@ -39,5 +47,12 @@ jobs:
- name: Run tests
shell: bash -l {0}
run: |
- python3 src/test/python/fusionauth/rest_client_test.py
- python3 src/test/python/fusionauth/fusionauth_client_test.py
+ python3 -m venv .venv
+ source .venv/bin/activate
+ echo -e "\nUsing $(python --version) in $(which python)\n"
+ pip install -e .
+ echo ""
+ pip list
+ echo ""
+ python src/test/python/fusionauth/rest_client_test.py
+ python src/test/python/fusionauth/fusionauth_client_test.py
diff --git a/.python-version b/.python-version
index 6a801ce..35f236d 100644
--- a/.python-version
+++ b/.python-version
@@ -1 +1 @@
-3.8.13
+3.12.6
diff --git a/build.savant b/build.savant
index 5874822..1e0cdd5 100644
--- a/build.savant
+++ b/build.savant
@@ -14,7 +14,7 @@
* language governing permissions and limitations under the License.
*/
-project(group: "io.fusionauth", name: "fusionauth-python-client", version: "1.54.0", licenses: ["ApacheV2_0"]) {
+project(group: "io.fusionauth", name: "fusionauth-python-client", version: "1.55.0", licenses: ["ApacheV2_0"]) {
workflow {
fetch {
cache()
diff --git a/fusionauth-python-client.iml b/fusionauth-python-client.iml
index 0d4db7f..3be67dc 100644
--- a/fusionauth-python-client.iml
+++ b/fusionauth-python-client.iml
@@ -10,7 +10,7 @@
-
+
diff --git a/setup.py b/setup.py
index d5d382d..8370715 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@
setup(
name="fusionauth-client",
- version="1.54.0",
+ version="1.55.0",
author="FusionAuth",
author_email="dev@fusionauth.io",
description="A client library for FusionAuth",
diff --git a/src/test/docker/docker-compose.yml b/src/test/docker/docker-compose.yml
index bdcbae9..95a80fa 100644
--- a/src/test/docker/docker-compose.yml
+++ b/src/test/docker/docker-compose.yml
@@ -1,6 +1,6 @@
services:
db:
- image: postgres:16.0-alpine
+ image: postgres:16.4-alpine
environment:
PGDATA: /var/lib/postgresql/data/pgdata
POSTGRES_USER: postgres