diff --git a/.gitea/workflows/setup_native.yml b/.gitea/workflows/setup_native.yml index 9ddd1834b..0399244c6 100644 --- a/.gitea/workflows/setup_native.yml +++ b/.gitea/workflows/setup_native.yml @@ -9,6 +9,11 @@ jobs: setup_native: if: contains(github.event.head_commit.message, '@native') runs-on: ubuntu-latest + env: + PG_USER: ${{ secrets.PG_USER }} + PG_PASSWORD: ${{ secrets.PG_PASSWORD }} + DB_SERVER: ${{ vars.DB_SERVER }} + DB_PORT: ${{ vars.DB_PORT }} strategy: matrix: python-version: [3.12.7] @@ -25,14 +30,7 @@ jobs: - name: Create Python virtual environment run: python -m venv venv - - - name: Make envfile - uses: SpicyPizza/create-envfile@v2.0 - with: - PG_USER: ${{ secrets.PG_USER }} - PG_PASSWORD: ${{ secrets.PG_PASSWORD }} - DB_SERVER: ${{ vars.DB_SERVER }} - DB_PORT: ${{ vars.DB_PORT }} + - name: Activate virtual environment and install dependencies run: make install diff --git a/Makefile b/Makefile index d5c4841d3..69a5a5007 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ -include .env .SHELLFLAGS += ${SHELLFLAGS} -e PWD = $(shell pwd) UID = $(shell id -u)