File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Run locally with act:
22#
3- # act pull_request \
4- # --platform fusionauth-standard=[ecr-repo-name]/fusionauth-standard:latest] \
5- # --workflows ./.github/workflows/test.yaml
3+ # act pull_request --workflows .github/workflows/test.yaml
64
75name : Test
86
97on :
108 push :
119 branches :
1210 - main
11+ - develop
1312 pull_request :
1413 branches :
1514 - main
15+ - develop
1616 workflow_dispatch :
1717
1818jobs :
1919 run_tests :
20- runs-on : fusionauth-standard
20+ runs-on : ubuntu-latest
21+ strategy :
22+ matrix :
23+ version :
24+ - ' 3.8'
25+ - ' 3.9'
26+ - ' 3.10'
27+ - ' 3.11'
28+ - ' 3.12'
2129 env :
2230 FUSIONAUTH_URL : http://localhost:9011
2331 FUSIONAUTH_API_KEY : bf69486b-4733-4470-a592-f1bfce7af580
2432 steps :
2533 - uses : actions/checkout@v4
2634
35+ - uses : actions/setup-python@v5
36+ with :
37+ python-version : ${{ matrix.version }}
38+
2739 - name : Set up FusionAuth
2840 working-directory : src/test/docker
2941 run : docker compose up -d
3042
31- - name : Install fusionauth library
32- shell : bash -l {0}
33- run : pip3 install .
34-
3543 - name : Check to see if FusionAuth is loaded
3644 run : |
3745 bash ./src/test/docker/poll-for-kickstart-finish.sh
3846
3947 - name : Run tests
4048 shell : bash -l {0}
4149 run : |
42- python3 src/test/python/fusionauth/rest_client_test.py
43- python3 src/test/python/fusionauth/fusionauth_client_test.py
50+ python3 -m venv .venv
51+ source .venv/bin/activate
52+ echo -e "\nUsing $(python --version) in $(which python)\n"
53+ pip install -e .
54+ echo ""
55+ pip list
56+ echo ""
57+ python src/test/python/fusionauth/rest_client_test.py
58+ python src/test/python/fusionauth/fusionauth_client_test.py
Original file line number Diff line number Diff line change 1- 3.8.13
1+ 3.12.6
Original file line number Diff line number Diff line change 1010 <excludeFolder url =" file://$MODULE_DIR$/build" />
1111 <excludeFolder url =" file://$MODULE_DIR$/dist" />
1212 </content >
13- <orderEntry type =" jdk" jdkName =" Python 3.8 " jdkType =" Python SDK" />
13+ <orderEntry type =" jdk" jdkName =" Python 3.12 " jdkType =" Python SDK" />
1414 <orderEntry type =" sourceFolder" forTests =" false" />
1515 </component >
1616</module >
Original file line number Diff line number Diff line change 11services :
22 db :
3- image : postgres:16.0 -alpine
3+ image : postgres:16.4 -alpine
44 environment :
55 PGDATA : /var/lib/postgresql/data/pgdata
66 POSTGRES_USER : postgres
You can’t perform that action at this time.
0 commit comments