File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 with :
6464 node-version : ${{ matrix.node-version }}
6565 cache : ' npm'
66+ - run : npm ci
6667 - name : Create local config for tests to use the couchdb from the container
6768 run : |
6869 echo 'module.exports = { usersDbConnection: { url: "http://localhost:5984" }};' > config/local.js
@@ -110,6 +111,6 @@ jobs:
110111 uses : actions/upload-artifact@v5
111112 if : ${{ !cancelled() }} # Upload even if the previous step failed
112113 with :
113- name : test-results # Name of the artifact
114+ name : ui- test-results # Name of the artifact
114115 path : FieldDB/test-e2e/test-results/ # Path to the directory containing reports and traces
115116 retention-days : 30
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ services:
1717 environment :
1818 - COUCHDB_USER=admin
1919 - COUCHDB_PASSWORD=none
20- auth_app :
20+ app :
2121 depends_on :
2222 - couchdb
2323 build :
Original file line number Diff line number Diff line change 7171 "start" : " node ./bin/www.js" ,
7272 "test" : " SOURCE_URL=${SOURCE_URL:-https://public:none@corpusdev.example.org} NODE_ENV=test NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --timeout 100000 --recursive test" ,
7373 "test:debug" : " node-debug _mocha test/integration/oauth.js" ,
74- "test:deprecated:e2e" : " DEBUG=${DEBUG:-lib:user } REPLAY=bloody NODE_TLS_REJECT_UNAUTHORIZED=0 URL=https://localhost:3183 nyc mocha --timeout 25000 test/routes/deprecated-spec.js" ,
74+ "test:deprecated:e2e" : " DEBUG=${DEBUG:-test:deprecated } REPLAY=bloody NODE_TLS_REJECT_UNAUTHORIZED=0 URL=https://localhost:3183 mocha --timeout 25000 test/routes/deprecated-spec.js" ,
7575 "test:deprecated:coverage" : " DEBUG=${DEBUG:-lib:user} REPLAY=bloody NODE_TLS_REJECT_UNAUTHORIZED=0 nyc mocha --timeout 25000 test/routes/deprecated-spec.js" ,
7676 "test:fielddb" : " NODE_ENV=localhost jasmine-node node_modules/fielddb/tests" ,
7777 "test:production" : " ls config/production.js" ,
You can’t perform that action at this time.
0 commit comments