From 2b111d9e1b9049a4239ec7b28df8026f9ad07f3c Mon Sep 17 00:00:00 2001 From: Minotriz02 Date: Mon, 27 May 2024 14:27:27 -0500 Subject: [PATCH] pipeline edited to create geo_config txt --- .github/workflows/pipeline.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 1668e19..876518a 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -13,6 +13,10 @@ on: permissions: contents: read +env: + GEOSERVER_USERNAME: ${{secrets.GEOSERVER_USERNAME}} + GEOSERVER_PASSWORD: ${{secrets.GEOSERVER_PASSWORD}} + jobs: # ------- START TEST PROCCESS -------- # @@ -36,6 +40,10 @@ jobs: - name: Install dependencies run: | pip install -r ./requirements.txt + - name: Create credentials file + run: | + echo "GEOSERVER_USER=${{env.GEOSERVER_USERNAME}}" > credentials.txt + echo "GEOSERVER_PASSWORD=${{env.GEOSERVER_PASSWORD}}" >> credentials.txt - name: Run Tests run: | python -m unittest discover -s ./src/test/ -p 'test_*.py'