Fix Python tests and remove CircleCI-specific path (#106)

* Remove CircleCI-specific path in tests

* ..?

* Fix testsP

* Fix python test

* remove pip

* Maybe fail?

* return code?

* no &

* Fix tests
This commit is contained in:
Mostafa Abdelraouf
2022-08-02 17:52:22 -05:00
committed by GitHub
parent 20e8f9d74c
commit 5ac85eaadd
3 changed files with 11 additions and 11 deletions

View File

@@ -66,19 +66,19 @@ psql -U sharding_user -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_te
#
# ActiveRecord tests
#
cd tests/ruby && \
sudo gem install bundler && \
bundle install && \
ruby tests.rb
cd /home/circleci/project
cd tests/ruby
sudo gem install bundler
bundle install
ruby tests.rb
cd ../..
#
# Python tests
#
cd tests/python && \
pip install -r requirements.txt && \
python tests.py
cd /home/circleci/project
cd tests/python
pip3 install -r requirements.txt
python3 tests.py
cd ../..
# Admin tests