Skip to content

Commit

Permalink
Merge 25b3460 into df9b08b
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Feb 21, 2022
2 parents df9b08b + 25b3460 commit c46e53b
Show file tree
Hide file tree
Showing 4 changed files with 12,448 additions and 1,423 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ jobs:
node-version: "${{ matrix.node-version }}"
- name: "Unit Tests with Node.js ${{ matrix.node-version }}"
run: |
docker network create --driver=bridge my-network
docker run -d -h mysql --net=my-network -p 3306:3306 --name mysql -v $(pwd)/test/mysql-data:/docker-entrypoint-initdb.d/:ro -e MYSQL_ROOT_PASSWORD=test mysql:5.7
docker run -d --net=my-network -p 3000:3000 --name keyrock -e IDM_DB_USER=root -e IDM_DB_PASS=test -e IDM_DB_HOST=mysql -e IDM_DB_PORT=3306 fiware/idm:8.0.0
CXXFLAGS="--std=c++14"
npm install
npm test
Expand All @@ -92,10 +88,6 @@ jobs:
with:
node-version: 12.x
- run: |
docker network create --driver=bridge my-network
docker run -d -h mysql --net=my-network -p 3306:3306 --name mysql -v $(pwd)/test/mysql-data:/docker-entrypoint-initdb.d/:ro -e MYSQL_ROOT_PASSWORD=test mysql:5.7
docker run -d --net=my-network -p 3000:3000 --name keyrock -e IDM_DB_USER=root -e IDM_DB_PASS=test -e IDM_DB_HOST=mysql -e IDM_DB_PORT=3306 fiware/idm:8.0.0
CXXFLAGS="--std=c++14"
npm install
npm run test:coverage
Expand Down
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run pre-commit

0 comments on commit c46e53b

Please sign in to comment.