Skip to content

Commit

Permalink
add integration tests to BE
Browse files Browse the repository at this point in the history
FLPATH-799
https://issues.redhat.com/browse/FLPATH-799

Signed-off-by: Yaron Dayagi <[email protected]>
  • Loading branch information
ydayagi committed Dec 31, 2023
1 parent be30796 commit 78ca9e6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/actions/test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,15 @@ runs:
- name: Run tests
shell: bash
run: yarn test --filter=${{ inputs.args }}

- name: Start backstage
shell: bash
run: yarn start:backstage

- name: Wait for backstage
shell: bash
run: timeout 15 bash -c 'until echo > /dev/tcp/localhost/7007; do sleep 3; done'

- name: Test get notifications
shell: bash
run: curl http://localhost:7007/api/notifications/notifications
2 changes: 1 addition & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Push
on:
push:
branches:
- main
- flpath799

concurrency:
group: push
Expand Down

0 comments on commit 78ca9e6

Please sign in to comment.