Skip to content

Commit

Permalink
python and go e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Suderman committed Apr 8, 2021
1 parent aac939f commit 61653fa
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
File renamed without changes.
3 changes: 3 additions & 0 deletions end_to_end_testing/pre_python.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

docker cp . e2e-command-runner:/reckoner
File renamed without changes.
25 changes: 25 additions & 0 deletions end_to_end_testing/run_python.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash

set -x
set -e

python --version

apt-get update
apt-get install python3-pip

cd /reckoner
pip3 install .
reckoner --version

curl -LO https://github.com/ovh/venom/releases/download/v0.27.0/venom.linux-amd64
mv venom.linux-amd64 /usr/local/bin/venom
chmod +x /usr/local/bin/venom

mkdir -p /tmp/test-results

cd /reckoner/end_to_end_testing

# The parallelization number must remain relatively low otherwise the tests become flaky due to resources and pending pods and such
venom run tests/* --log debug --output-dir=/tmp/test-results --parallel=2 --strict
exit $?

0 comments on commit 61653fa

Please sign in to comment.