-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get (some of) the tests working and running in GitHub CI
(cherry picked from commit 9b6124c)
- Loading branch information
Showing
7 changed files
with
158 additions
and
114 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,33 @@ | ||
#### What? Why? | ||
|
||
Closes # <!-- Insert issue number here. --> | ||
|
||
<!-- Explain why this change is needed and the solution you propose. | ||
Provide context for others to understand it. --> | ||
|
||
|
||
#### What should we test? | ||
<!-- List which features should be tested and how. | ||
This can be similar to the Steps to Reproduce in the issue. | ||
Also think of other parts of the app which could be affected | ||
by your change. --> | ||
|
||
- Visit ... page. | ||
- | ||
|
||
#### Release notes | ||
|
||
<!-- Choose a pull request title above which explains your change to a | ||
user. The title of the pull request will be included in the release | ||
notes. --> | ||
|
||
|
||
#### Deployment notes | ||
|
||
<!-- Is there anything to note that needs to be done on deployment to | ||
ensure the PR behaves correctly? --> | ||
|
||
|
||
#### Documentation updates | ||
<!-- Are there any wiki pages or docs that need updating after merging | ||
this PR? List them here or remove this section. --> |
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,30 @@ | ||
name: Development | ||
|
||
on: | ||
push: | ||
branches: [ dev ] | ||
pull_request: | ||
branches: [ dev ] | ||
|
||
jobs: | ||
test: | ||
name: Test application | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "☁️ checkout repository" | ||
uses: actions/checkout@v3 | ||
|
||
- name: "🔧 setup node" | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16.x' | ||
cache: 'npm' | ||
|
||
- name: "📦 install dependencies" | ||
run: npm ci | ||
|
||
- name: "📦 build code" | ||
run: npm run build --if-present | ||
|
||
- name: "🔍 run tests" | ||
run: npm test |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,11 @@ | ||
// include instant-mocha tests here | ||
require('./test-model-config'); | ||
require('./test-view-map-popup'); | ||
require('./test-dataaggregator'); | ||
|
||
// FIXME TEST NOT WORKING: import './test-csvdataloader'; | ||
import './test-dataaggregator'; | ||
import './test-directory-construction'; | ||
import './test-model-config'; | ||
import './test-obj-transformer'; | ||
// FIXME TEST NOT WORKING: import './test-papaparse'; | ||
// FIXME TEST NOT WORKING: import './test-sparqldataloader'; | ||
import './test-view-map-popup'; | ||
import './test-vocab-services'; |
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