Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit 3583da5

Browse files
committed
ci: Fix add mutationtests step
1 parent ed77a28 commit 3583da5

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ version: 2.1 # use CircleCI 2.1
22
jobs:
33
build:
44
docker:
5-
- image: circleci/node:10.16.3
5+
- image: circleci/node:10.16.3
66
steps:
77
- checkout # special step to check out source code to working directory
88
- run:
99
name: update-npm
10-
command: 'sudo npm install -g npm@latest'
10+
command: "sudo npm install -g npm@latest"
1111
- restore_cache: # special step to restore the dependency cache
1212
# Read about caching dependencies: https://circleci.com/docs/2.0/caching/
1313
key: dependency-cache-{{ checksum "package-lock.json" }}
@@ -21,3 +21,6 @@ jobs:
2121
- run:
2222
name: test
2323
command: npm run server:coverage
24+
- run:
25+
name: mutation tests
26+
command: npm run stryker

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Algeria API
22

3-
[![Known Vulnerabilities](https://snyk.io/test/github/Fcmam5/algeria-api/badge.svg)](https://snyk.io/test/github/Fcmam5/algeria-api) [![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.amrom.workers.dev%2FFcmam5%2Falgeria-api%2Fmaster)](https://stryker-mutator.github.io)
3+
[![Known Vulnerabilities](https://snyk.io/test/github/Fcmam5/algeria-api/badge.svg)](https://snyk.io/test/github/Fcmam5/algeria-api) [![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.amrom.workers.dev%2FFcmam5%2Falgeria-api%2Fdevelop)](https://dashboard.stryker-mutator.io/reports/github.com/Fcmam5/algeria-api/develop)
44

55
This is another Algerian administrative areas repository :smiley:. In this project we provide a structured JSON and XML data that can be found in [results/WilayaList.json](./data/WilayaList.json) and [results/WilayaList.XML](./data/WilayaList.XML) or through our API: [https://algeria-api.herokuapp.com/api/v1/]()
66

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"prepublishOnly": "npm run snyk-protect",
2020
"lint": "eslint server",
2121
"flush-db": "node server/flush-db/index.js",
22-
"prepare": "yarn run snyk-protect"
22+
"prepare": "yarn run snyk-protect",
23+
"stryker": "stryker run"
2324
},
2425
"keywords": [],
2526
"author": "",

0 commit comments

Comments
 (0)