diff options
author | nkozlovskiy <nmk@ydb.tech> | 2023-10-16 19:29:09 +0300 |
---|---|---|
committer | nkozlovskiy <nmk@ydb.tech> | 2023-10-16 19:49:20 +0300 |
commit | 9c8b1f927264fe00784b520ce0e7a5148d22aeef (patch) | |
tree | 915613d632232fe6487bd3dc1aba9c53b445ac04 | |
parent | a14372edbfbba7a2df98c30189e1d3080b4d4877 (diff) | |
download | ydb-9c8b1f927264fe00784b520ce0e7a5148d22aeef.tar.gz |
ci: add postgres-client test requirement
-rw-r--r-- | .github/actions/prepare_vm/action.yaml | 2 | ||||
-rw-r--r-- | .github/actions/test/action.yml | 5 | ||||
-rw-r--r-- | .github/actions/test_ya/action.yml | 5 |
3 files changed, 11 insertions, 1 deletions
diff --git a/.github/actions/prepare_vm/action.yaml b/.github/actions/prepare_vm/action.yaml index 3932a8ab710..23aedc743d4 100644 --- a/.github/actions/prepare_vm/action.yaml +++ b/.github/actions/prepare_vm/action.yaml @@ -30,7 +30,7 @@ runs: sudo apt-get update sudo apt-get -y install --no-install-recommends \ python-is-python3 git cmake python3-pip ninja-build antlr3 m4 \ - clang-14 lld-14 llvm-14 libidn11-dev libaio1 libaio-dev parallel s3cmd make + clang-14 lld-14 llvm-14 libidn11-dev libaio1 libaio-dev parallel s3cmd make postgresql-client sudo pip3 install conan==1.59 pytest==7.1.3 pytest-timeout pytest-xdist==3.3.1 setproctitle==1.3.2 grpcio grpcio-tools PyHamcrest tornado xmltodict pyarrow boto3 moto[server] psutil pygithub==1.59.1 - name: install ccache shell: bash diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index be6b504531e..4470481d20e 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -132,6 +132,11 @@ runs: run: | echo "10 [Test history](${TEST_HISTORY_URL})" >> $SUMMARY_LINKS + - name: set environment variables required by some tests + shell: bash + run: | + echo "PSQL_BINARY=/usr/bin/psql" >> $GITHUB_ENV + - name: Run unit tests id: ctest if: inputs.run_unit_tests == 'true' diff --git a/.github/actions/test_ya/action.yml b/.github/actions/test_ya/action.yml index 8a8a639ee5a..8288d8fa038 100644 --- a/.github/actions/test_ya/action.yml +++ b/.github/actions/test_ya/action.yml @@ -102,6 +102,11 @@ runs: run: | echo "10 [Test history](${TESTMO_URL}/automation/runs/view/${{steps.th.outputs.runid}})" >> $SUMMARY_LINKS + - name: set environment variables required by some tests + shell: bash + run: | + echo "PSQL_BINARY=/usr/bin/psql" >> $GITHUB_ENV + - name: ya test shell: bash run: | |