From ee0652542d17ffbf705c7f4a38543c7850814301 Mon Sep 17 00:00:00 2001 From: Filip Macek Date: Thu, 25 Apr 2024 13:55:25 +0200 Subject: [PATCH] refactor nautilus cli install and run for github build action --- .github/workflows/build_postgres.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_postgres.yml b/.github/workflows/build_postgres.yml index 5f5af7a376d5..3c34f865dafb 100644 --- a/.github/workflows/build_postgres.yml +++ b/.github/workflows/build_postgres.yml @@ -125,7 +125,14 @@ jobs: - name: Install Nautilus CLI and run init postgres run: | make install-cli - nautilus database init --host localhost --port 5432 --username postgres --password pass --database nautilus + nautilus database init --schema ${{ github.workspace }}/schema + env: + POSTGRES_HOST: localhost + POSTGRES_PORT: 5432 + POSTGRES_USERNAME: postgres + POSTGRES_PASSWORD: pass + POSTGRES_DATABASE: nautilus + - name: Run nautilus_core cargo tests (Linux) run: |