Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(workflow): wait after starting container before running tests #228

Merged
merged 1 commit into from
Mar 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/deploy-container-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ jobs:
-v $(pwd)/all-in-one/oscal-content:/app/oscal-content \
--name ${CONTAINER_NAME} ${TEST_TAG} &

# Give the container time to start before starting to hammer it with tests
- name: Wait 10 sec
run: |
sleep 10

- name: Run Cypress Tests
uses: cypress-io/github-action@v5
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test-container-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ jobs:
-v $(pwd)/all-in-one/oscal-content:/app/oscal-content \
--name ${CONTAINER_NAME} ${IMAGE_NAME} &

# Give the container time to start before starting to hammer it with tests
- name: Wait 10 sec
run: |
sleep 10

- name: Run Cypress Tests
uses: cypress-io/github-action@v5
with:
Expand Down