diff --git a/.gitea/workflows/setup_native.yml b/.gitea/workflows/setup_native.yml index 9b1271cc8..d23b8b947 100644 --- a/.gitea/workflows/setup_native.yml +++ b/.gitea/workflows/setup_native.yml @@ -17,9 +17,6 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.ref_name }} - - - name: Install Postgre - uses: ikalnytskyi/action-setup-postgres@v7 - name: Set up Python uses: actions/setup-python@v4 @@ -30,16 +27,16 @@ jobs: run: python -m venv venv - name: Activate virtual environment and install dependencies - run: | - source venv/bin/activate - make install + run: make install + - name: Install Postgres + uses: ikalnytskyi/action-setup-postgres@v7 + id: postgres + - name : Test postgres + run: psql postgresql://postgres:postgres@localhost:5432/postgres -c "SELECT 1" + - name: Generate Config - run: | - source venv/bin/activate - make gen_config + run: make gen_config - name: Run Tests - run: | - source venv/bin/activate - make run_test + run: make run_test