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'