Skip to content

Commit

Permalink
Update build-node-python.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dvviktordelev authored Dec 21, 2023
1 parent 2de8f67 commit ee1b07e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-node-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ env:
PYPI_USERNAME: "datavisyn"
PYTHON_VERSION: "3.10"
WORKFLOW_BRANCH: "new_deployment_no_ports"
POSTGRES_HOSTNAME: postgres_${{ inputs.branch }}_${{ github.run_id }}

permissions:
contents: read
Expand Down Expand Up @@ -211,6 +212,8 @@ jobs:
make start
wait-on: "http://localhost:8080, http://localhost:9000/health"
env: ${{ secrets.CYPRESS_ENV }}
env:
POSTGRES_HOSTNAME: ${{ env.POSTGRES_HOSTNAME }}
- name: Run cypress component tests
uses: cypress-io/github-action@v6
with:
Expand All @@ -221,6 +224,8 @@ jobs:
component: true
# TODO: Do component tests need the frontend/backend?
env: ${{ secrets.CYPRESS_ENV }}
env:
POSTGRES_HOSTNAME: ${{ env.POSTGRES_HOSTNAME }}
- name: Upload cypress screenshots
uses: actions/upload-artifact@v3
if: failure()
Expand Down

0 comments on commit ee1b07e

Please sign in to comment.