Skip to content

Commit 896d861

Browse files
authored
fix: build fix for drf tests (#489)
1 parent 60c0c79 commit 896d861

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.circleci/config_continue.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ jobs:
7575
- run: update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk-15.0.1/bin/java" 2
7676
- run: update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/jdk-15.0.1/bin/javac" 2
7777
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
78+
- run: echo "unalias pip" >> ~/.bashrc
79+
- run: echo "unalias python" >> ~/.bashrc
80+
- run: apt update && apt install -y python3.8-minimal
81+
- run: update-alternatives --set python /usr/bin/python3.8
82+
- run: python -m pip --upgrade pip
83+
- run: echo "alias pip3 python -m pip" >> ~/.bashrc
7884
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
7985
- run: make with-drf
8086
- run: (cd .circleci/ && ./websiteDrfAsync.sh)
@@ -88,6 +94,12 @@ jobs:
8894
- run: update-alternatives --install "/usr/bin/java" "java" "/usr/java/jdk-15.0.1/bin/java" 2
8995
- run: update-alternatives --install "/usr/bin/javac" "javac" "/usr/java/jdk-15.0.1/bin/javac" 2
9096
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
97+
- run: echo "unalias pip" >> ~/.bashrc
98+
- run: echo "unalias python" >> ~/.bashrc
99+
- run: apt update && apt install -y python3.8-minimal
100+
- run: update-alternatives --set python /usr/bin/python3.8
101+
- run: python -m pip --upgrade pip
102+
- run: echo "alias pip3 python -m pip" >> ~/.bashrc
91103
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
92104
- run: make with-drf
93105
- run: (cd .circleci/ && ./websiteDrfSync.sh)

0 commit comments

Comments
 (0)