|
|
@@ -175,17 +175,12 @@ jobs:
|
|
|
if: ${{ !inputs.skip-cypress }}
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
- container:
|
|
|
- image: cypress/base:16.13.0
|
|
|
- # solve permissions issue
|
|
|
- # see: https://github.com/cypress-io/github-action/issues/446#issuecomment-987015822
|
|
|
- options: --user 1001
|
|
|
|
|
|
strategy:
|
|
|
fail-fast: false
|
|
|
matrix:
|
|
|
# List string expressions that is comma separated ids of tests in "test/cypress/integration"
|
|
|
- spec-group: ['1', '2', '3', '4', '6']
|
|
|
+ spec-group: ['3']
|
|
|
|
|
|
services:
|
|
|
mongodb:
|
|
|
@@ -252,14 +247,14 @@ jobs:
|
|
|
- name: Cypress Run
|
|
|
uses: cypress-io/github-action@v3
|
|
|
with:
|
|
|
+ browser: chrome
|
|
|
working-directory: ./packages/app
|
|
|
- install: false
|
|
|
spec: '${{ steps.determine-spec-exp.outputs.value }}'
|
|
|
start: yarn server
|
|
|
wait-on: 'http://localhost:3000'
|
|
|
env:
|
|
|
- MONGO_URI: mongodb://mongodb:27017/growi-vrt
|
|
|
- ELASTICSEARCH_URI: http://elasticsearch:9200/growi
|
|
|
+ MONGO_URI: mongodb://localhost:${{ job.services.mongodb.ports['27017'] }}/growi-vrt
|
|
|
+ ELASTICSEARCH_URI: http://localhost:${{ job.services.elasticsearch.ports['9200'] }}/growi
|
|
|
|
|
|
- name: Upload results
|
|
|
if: always()
|