Skip to content

Commit

Permalink
Add sudoku test to automation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnangovindraj committed Feb 21, 2023
1 parent 807b101 commit 9acb89f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .factory/automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,20 @@ build:
sudo systemd-run ./dist/typedb-all-linux/typedb server
sleep 60
bazel test //telecom/phone_calls/python:test --test_output=errors
test-sudoku:
image: vaticle-ubuntu-22.04
command: |
export PYENV_ROOT="/opt/pyenv"
pyenv install 3.7.12
pyenv global 3.7.12
sudo unlink /usr/bin/python3
sudo ln -s $(which python3) /usr/bin/python3
sudo ln -s /usr/bin/python3 /usr/bin/python
sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.7.12/lib/python3.7/site-packages/lsb_release.py
bazel run //:typedb-extractor -- dist/typedb-all-linux
sudo systemd-run ./dist/typedb-all-linux/typedb server
sleep 60
bazel test //games/sudoku:test --test_output=errors
test-xcom:
image: vaticle-ubuntu-22.04
command: |
Expand Down Expand Up @@ -159,6 +173,20 @@ build:
sudo systemd-run ./dist/typedb-all-linux/typedb server
sleep 60
bazel test //telecom/phone_calls/python:test --test_output=errors --runs_per_test=20 --jobs=1
benchmark-sudoku-test:
image: vaticle-ubuntu-22.04
command: |
export PYENV_ROOT="/opt/pyenv"
pyenv install 3.7.12
pyenv global 3.7.12
sudo unlink /usr/bin/python3
sudo ln -s $(which python3) /usr/bin/python3
sudo ln -s /usr/bin/python3 /usr/bin/python
sudo ln -s /usr/share/pyshared/lsb_release.py /opt/pyenv/versions/3.7.12/lib/python3.7/site-packages/lsb_release.py
bazel run //:typedb-extractor -- dist/typedb-all-linux
sudo systemd-run ./dist/typedb-all-linux/typedb server
sleep 60
bazel test //games/sudoku:test --test_output=errors --runs_per_test=20 --jobs=1
benchmark-xcom-test:
image: vaticle-ubuntu-22.04
command: |
Expand Down

0 comments on commit 9acb89f

Please sign in to comment.