Skip to content

Commit

Permalink
fix: backend-sdk-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Nov 20, 2024
1 parent 951018f commit 1370b68
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .circleci/config_continue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 +30,20 @@ jobs:
- slack/status
test-backend-sdk-testing:
docker:
- image: rishabhpoddar/supertokens_node_driver_testing_node_20
- image: python:<< parameters.python-version >>
resource_class: large
parameters:
cdi-version:
type: string
fdi-version:
type: string
python-version:
type: string
steps:
- checkout
- run: update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk-15.0.1/bin/java" 2
- run: update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/jdk-15.0.1/bin/javac" 2
- run: apt update && apt install -y jq
- run: (cd .circleci/ && ./installJava.sh)
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
- run:
name: Install latest Python and dependencies
command: |
apt-get update
apt-get install -y software-properties-common lsof
add-apt-repository -y ppa:deadsnakes/ppa
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y python3.11 python3-pip python3.11-dev libffi-dev
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
update-alternatives --set python3 /usr/bin/python3.11
python3 --version
python3 -m pip install "cython<3.0.0" wheel
python3 -m pip install --upgrade pip setuptools
python3 -m pip install "pyyaml==5.4.1" --no-build-isolation
- run: python3 -m pip install -r dev-requirements.txt
- run: (cd .circleci/ && ./doBackendSDKTests.sh << parameters.cdi-version >> << parameters.fdi-version >>)
- slack/status
Expand Down Expand Up @@ -331,6 +319,7 @@ workflows:
parameters:
cdi-version: placeholder
fdi-version: placeholder
python-version: ['3.8', '3.13']
- test-website-fastapi:
requires:
- test-dev-tag-as-not-passed
Expand Down

0 comments on commit 1370b68

Please sign in to comment.