From 683a031b3648494eb4fd0877ad608c3ca32865ba 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..56be105f4bd0 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: |