Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dep updates #545

Merged
merged 34 commits into from
Nov 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a976233
fix: dep updates
sattvikc Nov 20, 2024
10d2af0
fix: circle ci unit test
sattvikc Nov 20, 2024
951018f
fix: circle ci unit test
sattvikc Nov 20, 2024
1370b68
fix: backend-sdk-testing
sattvikc Nov 20, 2024
fa3210b
fix: backend-sdk-testing
sattvikc Nov 20, 2024
499bf23
fix: lsof
sattvikc Nov 20, 2024
e0159bc
fix: missing to_json and other tests
sattvikc Nov 20, 2024
beab132
fix: website tests
sattvikc Nov 20, 2024
cbbead5
fix: test servers
sattvikc Nov 20, 2024
fcba825
fix: deps for chrome
sattvikc Nov 20, 2024
d5bc0e5
fix: xvfb for chrome
sattvikc Nov 20, 2024
6927117
fix: bc
sattvikc Nov 20, 2024
e9d0f96
fix: consume code
sattvikc Nov 21, 2024
e3945ee
fix: parallelise unit tests
sattvikc Nov 21, 2024
a503994
fix: ci
sattvikc Nov 21, 2024
85a0715
fix: disable for testing
sattvikc Nov 21, 2024
3c2e556
fix: enable auth-react
sattvikc Nov 21, 2024
e91f461
fix: update auth-react
sattvikc Nov 21, 2024
577c60e
fix: update auth-react
sattvikc Nov 21, 2024
478afad
fix: mocha
sattvikc Nov 21, 2024
0bbf99d
fix: mocha
sattvikc Nov 21, 2024
afec02f
fix: mocha
sattvikc Nov 21, 2024
6ee239e
fix: auth-react script
sattvikc Nov 22, 2024
968e2fb
fix: stable unit tests and remove retry for auth react
sattvikc Nov 22, 2024
864311b
fix: typo in mocha file
sattvikc Nov 22, 2024
0c7ddc7
fix: mocha artifacts
sattvikc Nov 22, 2024
e13607c
fix: test reporting
sattvikc Nov 25, 2024
26099bc
fix: flask server
sattvikc Nov 26, 2024
1ea20bd
fix: test and response logging
sattvikc Nov 27, 2024
dc38f53
fix: fast api response logging
sattvikc Nov 27, 2024
1899fca
ci: update node version
porcellus Nov 27, 2024
160733d
fix: enable all tests
sattvikc Nov 28, 2024
fbc0e99
fix: python versions
sattvikc Nov 28, 2024
652e54a
fix: python version
sattvikc Nov 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 11 additions & 22 deletions .circleci/authReactDjango.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
python_version=$(python --version 2>&1 | awk '{print $2}' | cut -d. -f1,2)
if [[ $(echo "$python_version >= 3.13" | bc -l) -eq 1 ]]; then
pip install setuptools legacy-cgi
fi

echo "Starting tests for FDI $1";

if [ -z "$SUPERTOKENS_API_KEY" ]; then
Expand Down Expand Up @@ -94,26 +99,10 @@ if [[ $frontendDriverVersion == '1.3' || $frontendDriverVersion == '1.8' ]]; the
# we skip 1.8 since the SDK with just 1.8 doesn't have the right scripts
exit 0
else
tries=1
while [ $tries -le 3 ]
do
tries=$(( $tries + 1 ))
./setupAndTestWithAuthReactWithDjango.sh $coreFree $frontendAuthReactTag $nodeTag
if [[ $? -ne 0 ]]
then
if [[ $tries -le 3 ]]
then
rm -rf ../../supertokens-root
rm -rf ../../supertokens-auth-react
echo "failed test.. retrying!"
else
echo "test failed for auth-react tests... exiting!"
exit 1
fi
else
rm -rf ../../supertokens-root
# we do not delete supertokens-auth-react here cause the test reports are generated in there.
break
fi
done
./setupAndTestWithAuthReactWithDjango.sh $coreFree $frontendAuthReactTag $nodeTag
if [[ $? -ne 0 ]]
then
echo "test failed for auth-react tests... exiting!"
exit 1
fi
fi
28 changes: 6 additions & 22 deletions .circleci/authReactFastApi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,26 +94,10 @@ if [[ $frontendDriverVersion == '1.3' || $frontendDriverVersion == '1.8' ]]; the
# we skip 1.8 since the SDK with just 1.8 doesn't have the right scripts
exit 0
else
tries=1
while [ $tries -le 3 ]
do
tries=$(( $tries + 1 ))
./setupAndTestWithAuthReact.sh $coreFree $frontendAuthReactTag $nodeTag
if [[ $? -ne 0 ]]
then
if [[ $tries -le 3 ]]
then
rm -rf ../../supertokens-root
rm -rf ../../supertokens-auth-react
echo "failed test.. retrying!"
else
echo "test failed for auth-react tests... exiting!"
exit 1
fi
else
rm -rf ../../supertokens-root
# we do not delete supertokens-auth-react here cause the test reports are generated in there.
break
fi
done
./setupAndTestWithAuthReact.sh $coreFree $frontendAuthReactTag $nodeTag
if [[ $? -ne 0 ]]
then
echo "test failed for auth-react tests... exiting!"
exit 1
fi
fi
28 changes: 6 additions & 22 deletions .circleci/authReactFlask.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,26 +96,10 @@ if [[ $frontendDriverVersion == '1.3' || $frontendDriverVersion == '1.8' ]]; the
# we skip 1.8 since the SDK with just 1.8 doesn't have the right scripts
exit 0
else
tries=1
while [ $tries -le 3 ]
do
tries=$(( $tries + 1 ))
./setupAndTestWithAuthReactWithFlask.sh $coreFree $frontendAuthReactTag $nodeTag
if [[ $? -ne 0 ]]
then
if [[ $tries -le 3 ]]
then
rm -rf ../../supertokens-root
rm -rf ../../supertokens-auth-react
echo "failed test.. retrying!"
else
echo "test failed for auth-react tests... exiting!"
exit 1
fi
else
rm -rf ../../supertokens-root
# we do not delete supertokens-auth-react here cause the test reports are generated in there.
break
fi
done
./setupAndTestWithAuthReactWithFlask.sh $coreFree $frontendAuthReactTag $nodeTag
if [[ $? -ne 0 ]]
then
echo "test failed for auth-react tests... exiting!"
exit 1
fi
fi
Loading
Loading