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

updates crypress.yaml #81

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
10 changes: 5 additions & 5 deletions .github/workflows/cypress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,24 +90,24 @@ jobs:
cd ${{ inputs.subdir }};
touch .env.development;
touch .env;
docker-compose pull web
docker compose pull web
- name: Pull worker image to prevent build
if: ${{ inputs.worker }}
run: >-
cd ${{ inputs.subdir }};
docker-compose pull worker
docker compose pull worker
- name: Start containers
run: >-
cd ${{ inputs.subdir }};
[ -f "db/schema.rb" ] && chmod 777 db/schema.rb;
docker-compose up -d web
docker compose up -d web
- name: Check for and setup Solr if needed
shell: bash
run: |
cd ${{ inputs.subdir }};
if [ -d solr ]
then
docker-compose exec -T web sh -c \
docker compose exec -T web sh -c \
"solrcloud-upload-configset.sh "${CONFDIR}" &&
SOLR_COLLECTION_NAME=hydra-test solrcloud-assign-configset.sh &&
solrcloud-assign-configset.sh"
Expand All @@ -117,7 +117,7 @@ jobs:
- name: Setup db
run: >-
cd ${{ inputs.subdir }};
docker-compose exec -T web sh -c
docker compose exec -T web sh -c
"${{ inputs.setup_db_cmd }}"
- name: Run Cypress Tests
id: run-specs
Expand Down