-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from FusionAuth/releases/1.55.0
Merge releases/1.55.0
- Loading branch information
Showing
6 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,58 @@ | ||
# 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 | ||
|
||
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 | ||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.8.13 | ||
3.12.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters