1
1
# Algorithm Exercises (NodeJS ES6)
2
2
3
- [ ![ Node.js CI] ( https://github.com/sir-gon/projecteuler- js/actions/workflows/node.js.yml/badge.svg )] ( https://github.com/sir-gon/projecteuler -js/actions/workflows/node.js.yml )
4
- [ ![ codecov] ( https://codecov.io/gh/sir-gon/projecteuler- js/branch/main/ graph/badge.svg?token=TBP53GERMA )] ( https://codecov.io/gh/sir-gon/projecteuler -js )
3
+ [ ![ Node.js CI] ( https://github.com/sir-gon/algorithm-exercises- js/actions/workflows/node.js.yml/badge.svg )] ( https://github.com/sir-gon/algorithm-exercises -js/actions/workflows/node.js.yml )
4
+ [ ![ codecov] ( https://codecov.io/gh/sir-gon/algorithm-exercises- js/graph/badge.svg?token=TBP53GERMA )] ( https://codecov.io/gh/sir-gon/algorithm-exercises -js )
5
5
[ ![ FOSSA Status] ( https://app.fossa.com/api/projects/git%2Bgithub.com%2Fsir-gon%2Fprojecteuler-js.svg?type=shield )] ( https://app.fossa.com/projects/git%2Bgithub.com%2Fsir-gon%2Fprojecteuler-js?ref=badge_shield )
6
6
[ ![ CII Best Practices] ( https://bestpractices.coreinfrastructure.org/projects/6198/badge )] ( https://bestpractices.coreinfrastructure.org/projects/6198 )
7
7
[ ![ Markdown Lint] ( https://github.com/sir-gon/algorithm-exercises-js/actions/workflows/markdown-lint.yml/badge.svg )] ( https://github.com/sir-gon/algorithm-exercises-js/actions/workflows/markdown-lint.yml )
8
8
9
- ![ GitHub] ( https://img.shields.io/github/license/sir-gon/projecteuler -js )
10
- ![ GitHub language count] ( https://img.shields.io/github/languages/count/sir-gon/projecteuler -js )
11
- ![ GitHub top language] ( https://img.shields.io/github/languages/top/sir-gon/projecteuler -js )
9
+ ![ GitHub] ( https://img.shields.io/github/license/sir-gon/algorithm-exercises -js )
10
+ ![ GitHub language count] ( https://img.shields.io/github/languages/count/sir-gon/algorithm-exercises -js )
11
+ ![ GitHub top language] ( https://img.shields.io/github/languages/top/sir-gon/algorithm-exercises -js )
12
12
13
13
[ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=sir-gon_algorithm-exercises-js&metric=alert_status )] ( https://sonarcloud.io/summary/new_code?id=sir-gon_algorithm-exercises-js )
14
14
[ ![ Coverage] ( https://sonarcloud.io/api/project_badges/measure?project=sir-gon_algorithm-exercises-js&metric=coverage )] ( https://sonarcloud.io/summary/new_code?id=sir-gon_algorithm-exercises-js )
@@ -114,16 +114,16 @@ Coverage results will be stored in host **/coverage** directory (mounted as volu
114
114
115
115
``` text
116
116
# Build a complete image
117
- docker-compose build projecteuler -js
118
- docker-compose run --rm projecteuler -js npm run test
117
+ docker-compose build algorithm-exercises -js
118
+ docker-compose run --rm algorithm-exercises -js npm run test
119
119
```
120
120
121
121
### Enable BRUTEFORCE tests with full DEBUG output
122
122
123
123
With docker-compose:
124
124
125
125
``` text
126
- docker-compose --profile testing run --rm projecteuler -js make test -e LOG_LEVEL=DEBUG -e BRUTEFORCE=true
126
+ docker-compose --profile testing run --rm algorithm-exercises -js make test -e LOG_LEVEL=DEBUG -e BRUTEFORCE=true
127
127
```
128
128
129
129
Using make:
@@ -142,9 +142,9 @@ Dependencies should be installed to run (not present in this target) so, you
142
142
143
143
``` text
144
144
# install node_modules dependencies using docker runtime and store them in host directory
145
- docker-compose build --compress projecteuler -js-dev
146
- docker-compose run --rm projecteuler -js-dev npm install --verbose
147
- docker-compose run --rm projecteuler -js-dev npm run test
145
+ docker-compose build --compress algorithm-exercises -js-dev
146
+ docker-compose run --rm algorithm-exercises -js-dev npm install --verbose
147
+ docker-compose run --rm algorithm-exercises -js-dev npm run test
148
148
```
149
149
150
150
## About development
@@ -162,4 +162,4 @@ v22.1.0
162
162
163
163
### Coverage
164
164
165
- [ ![ FOSSA Status ] ( https://codecov.io/gh/sir-gon/algorithm-exercises-js/branch/main/graphs/tree.svg?token=TBP53GERMA )] ( https://codecov.io/gh/sir-gon/projecteuler -js )
165
+ [ ![ Codecov ] ( https://codecov.io/gh/sir-gon/algorithm-exercises-js/branch/main/graphs/tree.svg?token=TBP53GERMA )] ( https://codecov.io/gh/sir-gon/algorithm-exercises -js )
0 commit comments