-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'service_rewrite_2023' into customize-modes-step2
- Loading branch information
Showing
47 changed files
with
1,815 additions
and
1,090 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: code coverage | ||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- ready_for_review | ||
|
||
jobs: | ||
run-codecov: | ||
if: github.event.pull_request.draft == false | ||
runs-on: macos-latest | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup the serve environment | ||
shell: bash -l {0} | ||
run: | | ||
bash setup/setup_serve.sh | ||
- name: Run Jest tests | ||
shell: bash -l {0} | ||
run: | | ||
source setup/activate_serve.sh | ||
npx jest | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
files: ./coverage/coverage-final.json | ||
flags: unit | ||
fail_ci_if_error: ${{ github.repository == 'e-mission/e-mission-phone' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ app-settings.json | |
www/dist/ | ||
config.xml | ||
package.json | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
comment: | ||
layout: " diff, flags, files" | ||
behavior: default | ||
require_changes: false | ||
require_base: false | ||
require_head: true | ||
hide_project_coverage: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
{ | ||
"version": 1, | ||
"ts": 1655143472, | ||
"server": { | ||
"connectUrl": "https://openpath-test.nrel.gov/api/", | ||
"aggregate_call_auth": "user_only" | ||
}, | ||
"intro": { | ||
"program_or_study": "study", | ||
"start_month": "10", | ||
"start_year": "2023", | ||
"program_admin_contact": "K. Shankari", | ||
"deployment_partner_name": "NREL", | ||
"translated_text": { | ||
"en": { | ||
"deployment_partner_name": "NREL", | ||
"deployment_name": "Testing environment for Jest testing", | ||
"summary_line_1": "", | ||
"summary_line_2": "", | ||
"summary_line_3": "", | ||
"short_textual_description": "", | ||
"why_we_collect": "", | ||
"research_questions": ["", ""] | ||
}, | ||
"es": { | ||
"deployment_partner_name": "NREL", | ||
"deployment_name": "Ambiente prueba para las pruebas de Jest", | ||
"summary_line_1": "", | ||
"summary_line_2": "", | ||
"summary_line_3": "", | ||
"short_textual_description": "", | ||
"why_we_collect": "", | ||
"research_questions": ["", ""] | ||
} | ||
} | ||
}, | ||
"survey_info": { | ||
"surveys": { | ||
"TimeUseSurvey": { | ||
"compatibleWith": 1, | ||
"formPath": "https://raw.githubusercontent.com/sebastianbarry/nrel-openpath-deploy-configs/surveys-info-and-surveys-data/survey-resources/data-json/time-use-survey-form-v9.json", | ||
"labelTemplate": { | ||
"en": "{ erea, plural, =0 {} other {# Employment/Education, } }{ da, plural, =0 {} other {# Domestic, } }", | ||
"es": "{ erea, plural, =0 {} other {# Empleo/Educación, } }{ da, plural, =0 {} other {# Actividades domesticas, }}" | ||
}, | ||
"labelVars": { | ||
"da": { | ||
"key": "Domestic_activities", | ||
"type": "length" | ||
}, | ||
"erea": { | ||
"key": "Employment_related_a_Education_activities", | ||
"type": "length" | ||
} | ||
}, | ||
"version": 9 | ||
} | ||
}, | ||
"trip-labels": "ENKETO" | ||
}, | ||
"display_config": { | ||
"use_imperial": false | ||
}, | ||
"profile_controls": { | ||
"support_upload": true, | ||
"trip_end_notification": false | ||
}, | ||
"admin_dashboard": { | ||
"overview_users": true, | ||
"overview_active_users": true, | ||
"overview_trips": true, | ||
"overview_signup_trends": true, | ||
"overview_trips_trend": true, | ||
"data_uuids": true, | ||
"data_trips": true, | ||
"data_trips_columns_exclude": [], | ||
"additional_trip_columns": [], | ||
"data_uuids_columns_exclude": [], | ||
"token_generate": true, | ||
"token_prefix": "nrelop", | ||
"map_heatmap": true, | ||
"map_bubble": true, | ||
"map_trip_lines": true, | ||
"push_send": true, | ||
"options_uuids": true, | ||
"options_emails": true | ||
} | ||
} |
Oops, something went wrong.