Skip to content

Commit

Permalink
start BE test
Browse files Browse the repository at this point in the history
  • Loading branch information
NadicaUzunova committed Jan 18, 2024
1 parent 0dc8dd0 commit 89df88a
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/test_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,20 @@ jobs:
POSTGRES_DB: testdb
POSTGRES_USER: username
POSTGRES_PASSWORD: password


start_backend:
runs-on: ubuntu-latest
needs: [build_backend, start_database]
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Wait for PostgreSQL to be ready
uses: softprops/wait-for-status@v1
with:
url: http://localhost:5432
timeout: 120s

- name: Start Quarkus Backend
run: |
java -jar backend/target/quarkus-app/quarkus-run.jar

0 comments on commit 89df88a

Please sign in to comment.